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

itsme213 itsme213 at hotmail.com
Mon Jan 21 16:47:13 UTC 2008

"John Thornborrow" <john at pinesoft.co.uk> wrote in message
> It was a weak example, but you could also have:
> initialize
>  child := ChildComponent new.
> renderContentOn: html
>  html div
>    id: 'parent';
>    with: [ html render: (child options: #('some' 'options')) ]

Yes, doing this in #renderContentOn: seems cleaner than configuring child's 
instVars in my callbacks. Sometimes my blind spots are bigger than my 
seeing-spots :-)

Thanks - Sophie 

More information about the seaside mailing list