Hi! > When I test a page like this > http://www.wicket-library.com/wicket-examples/ajax/choice > with wicket tester and submit the form, the response page is the > HomePage instead of the expected page (ChoicePage).
Do you use a formtester? The wicket tester executeajax does not properly submit the form values so what we do is we create a dummy formtester before calling executeajaxevent. That might help. ** Martin > > This issue was already reported some time ago without a final result: > http://old.nabble.com/unit-test-for-dropdownchoice-with-ajax-td21141772.html > > > I created an example project that shows this issue: > http://github.com/magro/misc/tree/master/wicket-tester-drop-downs/ > > This is the short link to the failing test case (on github): > http://is.gd/58mq3 > This is the tested page class: http://is.gd/58mDm > > I'm using wicket 1.4.3. > > Is there any error in the test? Can I do anything to work around this, > or is it a bug? > > Thanx && cheers, > Martin > > -- > Martin Grotzke > http://www.javakaffee.de/blog/ > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
