another way is returning true as onActivate result - this will stop
bubbling
Object onActivate()
{
...
}
Object onActivate(String username)
{
...
return true;
}
On 24.09.2009, at 14:13, Gunnar Eketrapp wrote:
Hi!
I have a page that may take a username as paramater.
The main setup metod was named
Object onActivate() {
-- Fetch and process some data before rendering ---
return null;
}
then I added a
void onActivate(String username) {
// Remember user to be used in other onActivate() method !!!
...
}
Everyhting seemed to be ok until i figured out that the second
method is
called after the first method.
Obviously I am have not grasped the event handling mechanism at
all ...
A hint anyone? I'll buy you a beer next time you are in town!
Thanks in advance,
Gunnar Eketrapp
Stockholm Sweden
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org