[Seaside] #updateRoot: for children of #WABrush?

Rick Flower rickf at ca-flower.com
Fri May 11 21:00:07 UTC 2007


Lukas Renggli wrote:

> If you have loaded Scriptaculous:
> 
>    self script: 'alert("from the brush")'
> 
> If you don't:
> 
>   WACurrentSession value addLoadScript: 'alert("from the brush")'

By the way-- I ended up using the following which also works great and
puts the script in the head and not inline with the regular HTML stuff :

    app := WACurrentSession value application.
   (app libraries includes: MyScripts) ifFalse:
      [ app addLibrary: MyScripts ].

Works like a charm.. Thanks again for the suggestion!


More information about the seaside mailing list