I am trying to use this constructor

http://wicket.apache.org/docs/1.4/org/apache/wicket/markup/html/form/CheckBoxMultipleChoice.html#CheckBoxMultipleChoice%28java.lang.String,%20org.apache.wicket.model.IModel,%20java.util.List%29

Here is my best result

        // Days is an enum and is Serializable
        List<Day> daysOfWeek = Arrays.asList(Day.values());

        CheckBoxMultipleChoice<Day> daysSelector = new
CheckBoxMultipleChoice<Day>("daysSelector", *null*,  daysOfWeek);

But I am not able to generate a suitable model for this constructor (see the
*null *parameter ). I found the typing really complex. Can someone can
provide an example.

Thanks.

Reply via email to