Hello,

What do I need to do if I want to select a single CheckBox in a Form using
the FormTester (Wicket 1.3 trunk)? If I do

formTester.select("termsAccepted", 0);

I get the following error:

org.apache.wicket.WicketRuntimeException: Selecting on the
component:'0:subscribeContainer:subscribeForm:termsAccepted' is not
supported.
    at org.apache.wicket.util.tester.FormTester.fail(FormTester.java:680)
    at org.apache.wicket.util.tester.FormTester.access$100(FormTester.java
:57)
    at org.apache.wicket.util.tester.FormTester$ChoiceSelectorFactory.create
(FormTester.java:292)
    at org.apache.wicket.util.tester.FormTester.select(FormTester.java:462)


-- 
greetings from Berlin,

Rüdiger Schulz

www.2rue.de

Reply via email to