[Seaside] OK to directly call (#renderContentOn: html) of
itsme213 at hotmail.com
Sat Jan 19 06:30:14 UTC 2008
I read some time ago that a parent component should not directly call
#renderContentOn: on its children; instead it should do (html render:
However, I've tried direct calls in a few places and it works OK; also makes
my interfaces more uniform, as parent may wants to pass some options into
the rendering of its child so often wants to use (child renderOn: html with:
Is there a reason to avoid doing this?
html div: 'Parent stuff'.
child renderContentOn: html
Thanks - Sophie
More information about the seaside