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

Reply via email to