wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jchappelle <jchappe...@4redi.com>
Subject Testing a DropDownChoice without a Form with wantOnSelectionChangedNotifications=true
Date Tue, 25 Mar 2014 18:37:30 GMT
I have a DropDownChoice that is not within a Form and I'm trying to write a
test that selects an item in that DropDownChoice. I have been trying to use
WicketTester.executeUrl and give it the url in the onchange attribute of the
DropDownChoice but I'm not having any luck. Even if I do get that to work,
it requires me duplicating the logic of how wicket generates that url, which
means my code could break if wicket changes this.

Does anyone know of a good way to do this?


View this message in context: http://apache-wicket.1842946.n4.nabble.com/Testing-a-DropDownChoice-without-a-Form-with-wantOnSelectionChangedNotifications-true-tp4665121.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

View raw message