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

Rick Flower rickf at ca-flower.com
Fri May 11 13:47:55 UTC 2007

Lukas Renggli wrote:
>> Just curious if I've got a class derived from WABrush, is there a way to
>> force some javascript to be spit out similar to what you get with the
>> #updateRoot: method available in WAComponent object tree?  I looked at
>> the listed of implementors for #updateRoot: but didn't see anything
>> horribly interesting..  Anyway, just thought I'd ask.. time for bed.. my
>> brain is getting too sleepy.. (8->
> If you have loaded Scriptaculous:
>    self script: 'alert("from the brush")'
> If you don't:
>   WACurrentSession value addLoadScript: 'alert("from the brush")'
Lukas --

Thanks!  I'll check it out..

More information about the seaside mailing list