* glr:
>
> FormTester formTester =
> this.tester.newFormTester("articleEditorForm", false);
> formTester.select("rscTypesList", 0);
> this.tester.executeAjaxEvent("articleEditorForm:rscTypesList",
> "onchange");
Can you please try with:
formTester.submit();
instead of:
this.tester.executeAjaxEvent("articleEditorForm:rscTypesList",
"onchange");
To see if it's not the ajax behavior that causes problems?
You may want to have a look at an existing working unit test for
selecting a new value with the DropDownChoice:
http://svn.apache.org/viewvc/incubator/wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/util/tester/apps_3/FormTesterTest.java?revision=530304&view=markup
--
Jean-Baptiste Quenot
aka John Banana Qwerty
http://caraldi.com/jbq/
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user