[Seaside] Re: Menu component - communicating with root component
Keith Hodges
keith_hodges at yahoo.co.uk
Mon Apr 21 14:35:02 UTC 2008
> Now, both parent components catch the event, check to make sure the #sender
> is one of their children or grandchildren with a quick recursive check on
> #children, before deciding to process the announcement. This way you scope
> the ChangeBody to the correct parent.
>
>
Ah now I get it! "Quick recursive check".
> Yes and no, yes a global announcer, but you're wrong about the spatial
> information because all components know their children, you can always
> iterate and check this.
>
That is where I get stuck, that concept is just inconceivable to me I
just cant get my head around it.
Keith
More information about the seaside
mailing list