[Seaside] Re: Changing out components
arning at charm.net
Thu Oct 27 19:46:38 UTC 2011
His second example showed the way...
self menu contentBlock: [:view| self content: view]
and then from the menu do
callback: [self contentBlock value: FamilyView new ];
value: is the key
On 10/27/11 3:34 PM, Agamemnon wrote:
> You are brilliant. Thanks. It works perfectly now. Is there any way to
> have a value passed into the block? I know that the do: message on the
> Collections object takes each item in the Collection as a value. [:anItem |
> anItem doesSomething.] How would this work here?
> View this message in context: http://forum.world.st/Changing-out-components-tp3941427p3945760.html
> Sent from the Seaside General mailing list archive at Nabble.com.
> seaside mailing list
> seaside at lists.squeakfoundation.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the seaside