[Seaside] Re: Changing out components
Bob Arning
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
html anchor
callback: [self contentBlock value: FamilyView new ];
with: 'Family'.
value: is the key
On 10/27/11 3:34 PM, Agamemnon wrote:
> Norbert,
>
> 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?
>
> Andrew
>
> --
> 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
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20111027/e654f6d5/attachment.htm
More information about the seaside
mailing list