Using complexer Javascript in Seaside

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Using complexer Javascript in Seaside

Richard Durr-2
I think I just don't see it, but how do I add more complex Javascript than jQuery effects and ajax in Seaside? For example, how is it possible to write an if-statement? (I am currently digging through some pure Javascript-for-webapplication-development toolkits like qooxdoo and wonder where the place for Seaside is in that…)

Any Help would be appreciated :D

RD

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Using complexer Javascript in Seaside

Lukas Renggli
> I think I just don't see it, but how do I add more complex Javascript than
> jQuery effects and ajax in Seaside? For example, how is it possible to write
> an if-statement? (I am currently digging through some pure
> Javascript-for-webapplication-development toolkits like qooxdoo and wonder
> where the place for Seaside is in that…)

For basic cases you might want to check out  some of the helpers in
JSObject, like #condition: or #then:else:. For more elaborate cases
you are better off writing the logic as a jQuery plugin that you call
from Smalltalk.

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside