On Fri, Jun 10, 2011 at 9:42 AM, Mathilde Pellerin
<[email protected]> wrote:
> Thanks for your answer, it works with
> target.addComponent(submitButton);
>
> one more little question : how can I test my form with wicket tester?
> Because formTester.setValue doesn't send "keyup" event... so my button is
> still disable when I test my form with JUnit and WicketTester.
> I try with :
> tester.executeAjaxEvent("infosPersoForm:email", "keyup");
tester.executeAjaxEvent("infosPersoForm:email", "onkeyup");
>
> but I get an error :
> org.apache.wicket.WicketRuntimeException: No AjaxEventBehavior found on
> component: email which matches the event: keyup
>
> Is it possible to simulate event with Wicket Tester?
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

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

Reply via email to