[Seaside] Error: Components not found
Yoel Jacobsen
yoel at emet.co.il
Thu Oct 21 21:32:15 CEST 2004
Avi,
Thank you! it works now.
Yoel
----- Original Message -----
From: Avi Bryant <avi at beta4.com>
Date: Thursday, October 21, 2004 8:48 pm
Subject: Re: [Seaside] Error: Components not found
>
> On Oct 21, 2004, at 7:22 PM, Yoel Jacobsen wrote:
>
> > What's the role of #children whan using a callback?
>
> A component's callbacks are evaluated in the dynamic context of its
> ancestors in the UI tree. This lets its ancestors "control" those
> callbacks - they can prevent them from executing if the user has
> not
> been authenticated, for example, or they can catch validation
> errors
> that occur within them and record these for displaying to the user
> later, or they can set up thread-local variables that will be
> useful to
> them, and so on. To achieve this, the component tree is walked
> recursively during callback processing, and the callbacks for each
> component are executed as it is visited. The #children method
> controls
> this traversal - it's what's used to know which subcomponents to
> recurse into. If a component isn't listed in #children, it won't
> get
> visited, and so its callbacks will never get executed.
>
> Avi
>
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/listinfo/seaside
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: yoel.vcf
Type: text/x-vcard
Size: 216 bytes
Desc: Card for Yoel Jacobsen <yoel at emet.co.il>
Url : http://lists.squeakfoundation.org/pipermail/seaside/attachments/20041021/699cc208/yoel.vcf
More information about the Seaside
mailing list