You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by "mitchell.fr" <ha...@hotmail.fr> on 2014/07/08 14:36:36 UTC

Re: WicketTester.executeAjaxEvent causes problems with FormTester.setValue()

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-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org