[Seaside] Client side javascript

Lukas Renggli renggli at gmail.com
Mon Feb 1 17:38:04 UTC 2010

> Is it necessary to generate the javascript while rendering a
> component/page?  Is it possible to write client side javascript
> separate from what seaside generates?  I'm trying to understand how
> you would resolve a callback, or if that's possible.  When you
> generate the javascript inline in Smalltalk, this information is
> populated for you.  But when writing javascript, you can't just
> reference a url.
> Is anyone doing this?

Yes, anything that is more than a few lines of Javascript should be
written externally. Most people that have a lot of sophisticated
Javascript do exactly that.

At some point you have to hook these things into the HTML you
generate. At this point you can pass in callback URLs from Seaside.


Lukas Renggli

More information about the seaside mailing list