[Seaside] body attributes?
radoslav hodnicak
rh at 4096.sk
Sat Sep 18 20:00:33 CEST 2004
On Sat, 18 Sep 2004, Andreas Nilsson wrote:
> I'm trying to do exactly the same thing via 'html document root
> bodyAttributes at: put:' but I can't get it to work.
> Anybody care to explain what's so obvious about #updateRoot:? I can't
> even find any methods with that name.
Your(Root)Component >> updateRoot: aHtmlRoot
super updateRoot: aHtmlRoot.
aHtmlRoot bodyAttributes at: 'onLoad' put: 'whatever()'.
aHtmlRoot title: 'look ma, I can set title'.
this works in 2.5, if you can't find updateRoot: in your image then you
don't have seaside 2.5 loaded
rado
More information about the Seaside
mailing list