[Seaside] Using complexer Javascript in Seaside

Lukas Renggli renggli at gmail.com
Wed Dec 23 18:48:03 UTC 2009


> 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


More information about the seaside mailing list