Sven Meier wrote
> Seems like you're having an issue with generics. Introducing local 
> variables should help identifying the problem.

Yeah, I am definitely in generics hell.  I tried spreading it out, and get
the same problem.

ArrayList<FilterValue> list = (ArrayList<FilterValue>)
model.getForfeitureTypes();
Model<ArrayList&lt;FilterValue>> m = new
Model<ArrayList&lt;FilterValue>>(list);
CheckBoxMultipleChoice<FilterValue> forfTypes = 
        new CheckBoxMultipleChoice<FilterValue>(
                        "forfeitureTypes", 
                        m,
                        lookupService.fetchFilterValuesByFilterName("Forfeiture 
Type"), 
                        new ChoiceRenderer<FilterValue>("filterValueDecode"));

Exact error text:

The constructor CheckBoxMultipleChoice<FilterValue>(String,
Model<ArrayList&lt;FilterValue>>, List<FilterValue>,
ChoiceRenderer<FilterValue>) is undefined





--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/CheckboxMultipleChoice-with-a-list-of-beans-tp4657775p4657779.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to