List Info

Thread: TestPrototype example problem...




TestPrototype example problem...
user name
2006-04-02 15:32:03
When I try to use the TestPrototype example, I got this
display:

[missing component: Prototype]
Test WEPrototype

I don't have the time, but
[missing component: TimeLink]
and I will look it up.


So were are these components defined ?
I the Main.wod, i can see these things: WEPrototypeScript
and WELiveLink

Prototype: WEPrototypeScript {}

TimeLink: WELiveLink {
   updateID         = "time_div";
   position         = "top";

   actionClass      = "Main";
   directActionName = "sayWhen";
   confirmText      = "Really update time?";
}

-- 
OpenGroupware.org MacOS X
macosxopengroupware.org
http://mail.opengroupware.org/mailman/listinfo/macosx
TestPrototype example problem...
user name
2006-04-02 15:55:11
On 2. Apr 2006, at 17:32 Uhr, Philippe Laval wrote:
> So were are these components defined ?
> I the Main.wod, i can see these things:
WEPrototypeScript and  
> WELiveLink

Those are part of the sope-appserver/WEPrototype
library/framework.

Greets,
   Helge
-- 
http://d
ocs.opengroupware.org/Members/helge/
OpenGroupware.org
-- 
OpenGroupware.org MacOS X
macosxopengroupware.org
http://mail.opengroupware.org/mailman/listinfo/macosx
TestPrototype example problem...
user name
2006-04-02 17:31:28
I have verify that SOPE.xcodeproj builds
sope-appserver.xcodeproj  
which in turn builds WEPrototype.xcodeproj

But Marcus XCode templates are not including
WOExtensions.framework,  
WEPrototype.framework, WEExtensions.framework for example.

When I added these frameworks to my TestPrototype XCode
example, I  
got this results window :

Test WEPrototype
I don't have the time, but click here and I will look it
up.

localhost - - [02/Apr/2006:18:52:18 GMT] "GET
/TestPrototype HTTP/ 
1.1" 200 562 0.021 - - -
localhost - - [02/Apr/2006:18:52:18 GMT] "GET
/TestPrototype.sopex/x/ 
WEPrototypeScriptAction/default.js HTTP/1.1" 200 27803
0.005 - - -

I suppose that "Prototype: WEPrototypeScript {}"
in Main.wod is  
asking for "GET
/TestPrototype.sopex/x/WEPrototypeScriptAction/ 
default.js HTTP/1.1"

When I click on the "Click here" link, nothing
happens (I means in  
Sopex window).

I have checked with the use of Safari :

$ cd /Users/philippe/SOPE-4.5/sopex/Samples/TestPrototype/
$
./build/Development/TestPrototype.app/Contents/MacOS/TestPro
totype - 
WOPort 25000

I oppened Safari at the URL : http://localhost/TestP
rototype and got  
the example working fine.
When I click on the "Click here" link, I have a
javascript (?) window  
asking for confirmation, then the window updates to :

Test WEPrototype
The time is 2006-04-02 19:03:14 +0200
The time is 2006-04-02 19:03:12 +0200
The time is 2006-04-02 19:03:06 +0200
I don't have the time, but click here and I will look it
up.

Seems good to see a javascript windo here 

Philippe



Le 2 avr. 06 à 17:55, Helge Hess a écrit :

> On 2. Apr 2006, at 17:32 Uhr, Philippe Laval wrote:
>> So were are these components defined ?
>> I the Main.wod, i can see these things:
WEPrototypeScript and  
>> WELiveLink
>
> Those are part of the sope-appserver/WEPrototype
library/framework.
>
> Greets,
>   Helge
> -- 
> http://d
ocs.opengroupware.org/Members/helge/
> OpenGroupware.org
> -- 
> OpenGroupware.org MacOS X
> macosxopengroupware.org
> http://mail.opengroupware.org/mailman/listinfo/macosx
>

-- 
OpenGroupware.org MacOS X
macosxopengroupware.org
http://mail.opengroupware.org/mailman/listinfo/macosx
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )