add(new DropDownChoice("dropdown", model, values) { protected String getDefaultChoice(final Object selected) { return ""; //this fixes your problem... } public String getDisplayValue(Object object) { return object.toString(); } public String getIdValue(Object object, int index) { return object.toString(); } })
------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user