[Seaside] Multiple copies of the same component on a page

Bob Nemec bobn at rogers.com
Mon May 11 17:43:52 UTC 2009

Paul DeBruicker wrote:
> aPortfolio do: [:each | plot := PDAssetGraph new asset: each.].

You could use an instance variable to hold the collection of PDAssetGraph
instances, which you answer as the children for the parent component.

self graphs: (aPortfolio collect: [:each | PDAssetGraph new asset: each])

View this message in context: http://www.nabble.com/Multiple-copies-of-the-same-component-on-a-page-tp23487977p23488118.html
Sent from the Squeak - Seaside mailing list archive at Nabble.com.

More information about the seaside mailing list