"Note that events that are not handled by a component will bubble up to the component's container"

I'm a little confused because I thought this meant I could have a component containing components and handle the events from the root container aka the page ?

eg

MyLayout.tml
...
<t:form t:id="myForm">
   <t:body />
   <t:submit t:id="mySubmit" />
</t:form>
...

MyPage.tml
<html t:type="mylayout" ...>
   <p>some content</p>
</html>

MyPage.java
...
Object onSuccessFromMyForm()
{
   LOG.debug("onSuccessFromMyForm");
}
...

Should this listener get called or should I get :
Request event 'success' (on component MyPage:myForm.success) was not handled; you must provide a matching event handler method in the component or in one of its containers.

?

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

Reply via email to