rodrigo benenson schrieb:
Hello there !
Could someone point me out the correct way of testing a Form that has
an AjaxButton in Wicket 1.4-rc2 ?
calling
form_tester.submit()
or
form_tester.submit("button-id")
or
tester.executeAjaxEvent("button-id", "onclick");
does not seem to do what I expect. The first cases does not call the
AjaxButton onSubmit method and the last one does not take into account
the form.setValue(...) calls.
I could not find a relevant example online....
Thanks for you answer.
Regards,
rodrigob.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
Did you try
form_tester.submit()
or
form_tester.submit("button-id")
AND
tester.executeAjaxEvent("button-id", "onclick");
?
Cheers
Per
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]