On Tue, 30 Mar 2010 17:52:02 -0300, Michael Prescott <michael.r.presc...@gmail.com> wrote:

How do you catch an event from multiple components (but not all components?)

As long as your trying to handle the same event, all you need to do is to *not* specify a component id in @OnEvent or in the method name. You don't know which component triggered the event, though.

If you're trying to handle different events, you'll need different handler methods. (and most probably you're in the wrong path, too).

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, software architect and developer, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to