of course, it works.
Thanks a lot !

2011/6/10 Martin Grigorov <[email protected]>

> 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]
>
>


-- 
 Mathilde Pellerin  Ingénieur en Génie Logiciel  Tél mobile :
06.60.78.79.03   E-mail
: [email protected]   Mon CV en ligne :
<http://www.mathilde-pellerin.fr/> http://www.mathilde-pellerin.fr/    Mes
liens :  <http://www.viadeo.com/fr/profile/mathilde.pellerin>
<http://fr.linkedin.com/in/mathildepellerin>

Reply via email to