[Seaside] Garbage Collection/Handling

Lukas Renggli renggli at gmail.com
Fri Apr 13 13:09:22 UTC 2007

> Both components have an effect on the html root object (both over ride
> #updateRoot:) and have differing values. So far "it's working" but I am
> not sure if this is an acceptable process for it? Does the html root
> object make changes to the root attributes (or other items) according to
> both components, regardless of which component is rendered?

It is ok to return too many components from #children, it is just
required that you return all component instances that might be
rendered. However, you can also do something like:

      ifTrue: [Array with: componentOne]
      ifFalse: [Array with: componentTwo]


Lukas Renggli

More information about the Seaside mailing list