[Seaside] OK to directly call (#renderContentOn: html) of sub-component ?

Lukas Renggli renggli at gmail.com
Mon Jan 21 12:34:22 UTC 2008

> renderContentOn: html
>   "Parent rendering.."
>   self div
>     id: 'parent';
>     with: [ | child |
>       "child rendering"
>       child := ChildComponent new options: #('some' 'options').
>       html render: child
>     ]

Given that this creates a new component on every rendering pass
(refresh), you will also loose the state that the child might want to
store (for example the selected option).


Lukas Renggli

More information about the seaside mailing list