I believe it will only fire the last added behavior.

-Matej

On 9/5/07, Paolo Di Tommaso <[EMAIL PROTECTED]> wrote:
> Dear Community,
>
> what happens if two or event behavior are added on the save event handler.
>
> I mean something like that
>
> Button b = new Button("the-button");l
> b.add(new AjaxEventBehavior("onclick") {
>             protected void onEvent(AjaxRequestTarget target)
>             {
>                 //DO THIS
>             }
>         });
>
>
> b.add(new AjaxEventBehavior("onclick") {
>             protected void onEvent(AjaxRequestTarget target)
>             {
>                 //DO THAT
>             }
>         });
>
>
> Will be fired both? just the first? just the last?
>
> Thank to all.
>
> - P
>

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

Reply via email to