[Seaside] Script in head tag

Lukas Renggli renggli at gmail.com
Thu Oct 23 06:45:52 UTC 2008

> In updateRoot: we don't have the canvas. Beside the script element which invokes
> a file of a javascript library, how do I add a script with actual javascript
> code there?

aHtmlRoot addScript: 'abc'

> PD: not good idea for regular code but a good one for initialization code like
> the one provided by google with:
> google.load('prototype','1.6')
> google.load('scriptaculous','1.8')
> (see: http://code.google.com/apis/ajaxlibs)

I would directly embed the URLs of the particular libraries. That's
much more efficient than having  Javascript being started to fetch the


Lukas Renggli

More information about the seaside mailing list