hi,
I have a component which should react on two types of provided arguments:
one integer and two integers. These are my handler functions:

    @OnEvent(component="pager", value="action")
    Block onPageChangedExtended(int index, int visiblePage)    {    }

    @OnEvent(component="pager", value="action")
    Block onPageChanged(int index)    { return onPageChangedExtended(index,
0);    }

Unfortunately, each time two arguments are provided only the second function
(onPageChanged) is called and in consequence second argument is missed. Why
is it so, and how may I improve my code to handle both actions?

tapestry version: 5.0.14

thanks,
jm.

-- 
View this message in context: 
http://www.nabble.com/T5-Two-action-handlers-for-one-component-tp19009602p19009602.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to