Sure. Just add a Form and AjaxButton and see.
I replaced Button with Link as assembly of object to be ready before
button handler called sounds reasonable for me.

On 1 December 2010 17:46, Andrea Del Bene <[email protected]> wrote:
> That sounds strange. AjaxButton implements  IFormSubmittingComponent
> interface,  hence it should first invoke its onsubmit method and then parent
> form's onSubmit (as described in Form class JavaDoc).
>
> Is your AjaxButton inside form's hierarchy?
>>
>> It is
>> public final void onFormSubmitted()
>>
>> No, Form#onSubmit is not called at all. After successful execution of
>> internal submission trace proceed to
>> AjaxButton#onSubmit(AjaxRequestTarget target, Form<?>  form)
>>
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>



-- 
Best regards
Alex

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to