Hi Lucas,
I think it's a bug, because in my case I have a from when i set values of
some component, then i execute ajaw event to submit the form, wickettester
execute what i want, but after that if i submit the form with
formTester.submit('path'); i'm getting the same the result as if clicked on
the ajax button.

FormTester formTester = wicketTester.newFormTester("");
form.setvalue("","");
form.setvalue("",""); 
wicketTester.executeAjaxEvent("pathtoajaxbutton"); //until OK and i get what
i want
//now i have a normal submit button of the same form (formTester ) so i will
do :
formTester.submit("pathToOtherNONAjaxSubmitButton"); //KO failed,
wicketTester execute the last submit...

this is completely weird.... 

Hamed ops Mitchell 



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/WicketTester-executeAjaxEvent-causes-problems-with-FormTester-setValue-tp4666379p4666488.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to