Re: Strange ClassCastException with DropDownChoice

2008-04-17 Thread Nick Heudecker
It looks like your model object is returning a String[], while the class is expecting a List. On Thu, Apr 17, 2008 at 8:51 PM, Michael Mehrle <[EMAIL PROTECTED]> wrote: > I'm creating my own DropDownChoice: > > > > private class WeekdayChoice extends DropDownChoice { > > > >

Strange ClassCastException with DropDownChoice

2008-04-17 Thread Michael Mehrle
I'm creating my own DropDownChoice: private class WeekdayChoice extends DropDownChoice { public WeekdayChoice(String id, IModel model) { super(id, model, new Model(new DateFormatSymbols().getWeekdays()));