« Return to Thread: Menu component - communicating with root component

Re: Re: Menu component - communicating with root component

by Holger Kleinsorgen-3 :: Rate this Message:

Reply to Author | View in Thread

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
_______________________________________________
seaside mailing list
seaside@...
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

 « Return to Thread: Menu component - communicating with root component