I've found the answer. To achieve this you should return 'true' from
event handler.
Dmitry Shyshkin пишет:
Non null value stop processing of all other event and start page
rendering. But it actually not what I need.
I have a multiple onActivate event handlers with different count of
arguments, and I want to process only one of them.
void onActivate(Long id) {
object = loadobject(id);
// do something to stop bubling here
}
void onActivate() {
object = newobject();
}
Stephane Decleire пишет:
"The event will bubble up the hierarchy, until it is aborted. The
event is aborted when an event handler method returns a non-null
value."
(http://tapestry.apache.org/tapestry5/tapestry-core/guide/event.html)
Stephane
Dmitry Shyshkin a écrit :
Hi, all.
Is there a way to stop bubbling of current event?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]