[Seaside] Receiving the Answer of a Child Component?

Philippe Marschall philippe.marschall at gmail.com
Sat Jun 9 19:21:20 UTC 2007


2007/6/9, Michael Gorsuch <michael.gorsuch at gmail.com>:
> On 6/9/07, Andrius Paulavicius <apaulavicius at gmail.com> wrote:
> > Components can intercept answers of child component. You should add something
> > like "self onAnswer: [:ans | self answer: ans]" to GHWelcome initialize
>
> Ah!  Thanks so much!
>
> I ended up having to do add these to GHWelcome initialize:
>
> userLoginForm := GHUserLogin new onAnswer: [:ans| self answer: ans];yourself.
> userNewForm := GHUserNew new onAnswer: [:ans| self answer ansj; yourself.
>
> I appreciate the help: it put me on the right track!

You might also want to have a look at announcements:
http://onsmalltalk.com/programming/smalltalk/maintaining-loose-coupling-in-seaside-components/

Cheers
Philippe

> Thanks again,
>
> Michael Gorsuch
>
> -
> Styled Bits 1.0: Fresh Markup Served Daily
> http://www.styledbits.com
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>


More information about the Seaside mailing list