[Seaside] Get the html created by a render method to use as a
string in another method
pdebruic at gmail.com
Tue Feb 2 21:30:56 UTC 2010
On 02/02/2010 04:24 PM, seaside-request at lists.squeakfoundation.org wrote:
>> 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.
Ahh. Thanks. Changing it to:
| testTab b |
b:= WARenderCanvas builder
[:s | s render: 'hello'.]
More information about the seaside