that was the solution ! Thanks for your answer. Regards, rodrigob. On Mon, Mar 23, 2009 at 12:46 PM, Per Newgro <per.new...@gmx.ch> wrote: > 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: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> > > Did you try > > form_tester.submit() > or > form_tester.submit("button-id") > AND > tester.executeAjaxEvent("button-id", "onclick"); > > ? > > Cheers > Per > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org