We're using a Select component (org.apache.wicket.extensions.markup.html.form.select.Select) to display two groups of SelectionOptions in a Form. I guess that is the correct component to use when you want to group options and render them in optgroup's?
Anyway, we would like to test the form using FormTester but when i try to select a value we get the following exception: org.apache.wicket.WicketRuntimeException: Selecting on the component:'0:paymentFormForm:paymentType' is not supported. at org.apache.wicket.util.tester.FormTester.fail(FormTester.java:824) at org.apache.wicket.util.tester.FormTester.access$100(FormTester.java:59) at org.apache.wicket.util.tester.FormTester$ChoiceSelectorFactory.create(FormTester.java:308) .. .. and the test code: FormTester ft = tester.newFormTester("paymentForm", true); ft.select("paymentType", 0); // paymentType is the id of the Select component Any help would be appreciated! thanks, jan --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org