Return true from onActivate () to prevent further processing. Or just use
onActivate ( EventContext ctx ).
(I was stuck at the same point about week ago and there was a small
discussion about it. I still insist that current behavior is misleading.)


On Thu, Sep 24, 2009 at 2:13 PM, Gunnar Eketrapp
<gunnar.eketr...@gmail.com>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
>



-- 
Ilya Obshadko

Reply via email to