Hi

I have 2 DropDownChoice's on a form. When making a choice in the first, the
choices in the second are updated using AjaxFormComponentUpdatingBehavior.
(Just like in the Drop Down Choice Example of the "live action" Wicket
Examples
(http://www.wicket-library.com/wicket-examples/ajax?wicket:bookmarkablePage=:wicket.examples.ajax.builtin.ChoicePage)).

Could anyone tell me what the recommended way is to unit-test the above
case? 

I tried using WicketTester with FormTester but I cannot have the model of
the first DropDownChoice updated as a response to making a selection in it.
As a result, when the OnEvent handler of the
AjaxFormComponentUpdatingBehavior fires, it looks as if there was no
selection in the first DropDownChoice.

Thanks for your answer in advance,
Richard.
-- 
View this message in context: 
http://www.nabble.com/Unit-testing---updating-a-DropDownChoice-with-Ajax-tf3946499.html#a11195046
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to