[Seaside] Re: Changing out components
Robert Sirois
watchlala at hotmail.com
Thu Oct 27 19:44:51 UTC 2011
Browse BlockClosure.
Check out http://pharobyexample.org/ (page 55).
It'll look something like:
| function |function := [:param1 :param2 | ... ].
function value: value1 value: value2:
RS
> Date: Thu, 27 Oct 2011 12:34:17 -0700
> From: andrew.evil.genius at gmail.com
> To: seaside at lists.squeakfoundation.org
> Subject: [Seaside] Re: Changing out components
>
> 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/218ef19f/attachment.htm
More information about the seaside
mailing list