On Tue, 08 Jun 2010 09:40:52 -0300, Paul Stanton <p...@mapshed.com.au>
wrote:
Sorry Thiago, Thanks for the answer but I'm still not sure i've
explained this properly. Take the following example...
I have a page 'MyPage', who's root element is <html t:type="mylayout"
...>.
Within MyLayout i have an actionlink 'MyLink'.
I want to handle the event 'onActionFromMyLink' in MyPage.java. I would
expect that from innermost to outermost the component tree would be
MyLink-MyLayout-MyPage and therefore MyPage would be the root container
therefore could ultimately handle the event.
Instead of using an ActionLink and rely on its t:id, use an EventLink and
rely on the event name. You shouldn't rely on component id when the
component isn't directly inside your component or page.
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructor
Owner, 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