Are you sure that your problem is not something trivial like e.g. a typo?
Cezary
On Mon, 1 Jul 2013 22:23:39 +0100 Lance Java
<lance.j...@googlemail.com> wrote:
I'm scratching my head over this one... hoping someone can point it out.
I've got a page which renders a parent component.
The parent component renders a child component.
The child component renders an eventlink.
I've created an event handler in the parent component but tapestry can't
seem to find it and won't bubble up the event.
I'm getting the exception: Request event 'someEvent' was not handled; you
must provide a matching event handler method in the component or in one of
its containers.
Page.tml
<t:stitch.parent>...</t:stitch.parent>
Parent.tml
...
<t:stitch.child ... />
...
Parent.java
void onSomeEvent(int someContext) {
...
}
Child.tml
...
<t:eventlink event="someEvent" context="someContext" />
...
Can anyone spot what I'm doing wrong? Why can't tapestry find the event
handler in the parent?
I've tried @OnEvent and tried EventContext instead of int.
Cheers,
Lance.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org