I'm getting this exception when calling getConvertedInput() on
birthDateField.

java.lang.ClassCastException: java.lang.String cannot be cast to
java.util.Date

I'm using wicket 1.4.1


                birthDateField = new TextField<Date>("birthDate", new 
Model<Date>());
                birthDateField.setLabel(new Model<String>("Birth Date"));
                birthDateField.add(new DatePicker());
                FormUtils.addField(this, birthDateField);



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

Reply via email to