[Seaside] Get the html created by a render method to use as a
string in another method
Lukas Renggli
renggli at gmail.com
Tue Feb 2 21:23:32 UTC 2010
> When I try the example below using WARenderCanvas #builder as you mention
> the label is not placed in the tab.
>
> renderContentOn: html
> | testTab b |
> b:= WARenderCanvas builder
> render:
> [ html render: 'hello'.
- html refers to the renderer outside the block.
- WARenderCanvas builder creates a new renderer instance, this is the
argument passed into the renderer block.
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch
More information about the seaside
mailing list