ive tought this woud be a cool feature, but it does not exist yet.

On Thursday, March 21, 2013, Paul Stanton wrote:

> Hi all,
>
> Is there a way to trigger an event in a container (Page) which notifies
> embedded components?
>
> I'm hoping to do something like this (pseudo code) :
>
> Page
> {
>     void onSomeEvent()
>     {
>         notifyListeners("**SomethingHappened");
>     }
> }
>
> EmbeddedComponent
> {
>     void setupRender()
>     {
>         page.listenTo("**SomethingHappened");
>     }
>
>     void onSomethingHappened()
>     {
>         // called when triggered by page
>     }
> }
>
> Help appreciated, thanks, paul.
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

Reply via email to