[Seaside] Grid of components

Philippe Marschall philippe.marschall at gmail.com
Wed Oct 3 12:27:03 UTC 2007

2007/10/3, Keith Hodges <keith_hodges at yahoo.co.uk>:
> If I have a grid component which is formed of subcomponents this could
> be a lot of components
> it seems that it is necessary to return #children for subcomponents

That's true. A grid of components is no different than any other
component containing components.

> Does this mean building up and keeping an array of perhaps several
> hundred components in children or is there another/better way?

No but it doesn't have to be an array and you need to return only the
current components. Note however that you'll probably need to
backtrack the collection as well.


> Keith
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

More information about the Seaside mailing list