[Seaside] Re: Menu component - communicating with root component
Holger Kleinsorgen
kleinsor at smallish.org
Sun Apr 20 20:44:05 UTC 2008
Boris Popov schrieb:
> I'm not convinced that adding a third-party negotiator is easier than,
>
> Menu>>addItem: item
> self items add: item.
> item when: Clicked do: [self select: item].
>
> MenuItem>>renderContentOn: html
> html anchor
> callback: [self announce: Clicked];
> with: self label.
>
>
true. if the triggering component is a direct child of the interested
component, there's no need for fancy mechanisms.
but as soon as there are intermediate components, this soon gets out of
control
More information about the seaside
mailing list