[Wicket-user] RE: combo box displaying choose one

2006-05-31 Thread Andrew Strickland
If you call setNullValid(true) the default "null" value will be an empty string instead of "Choose One" Andy "When I reach with the selection in a combo box, to the first item in the list, wicket places a "Choose one" option as the first item in the combo. Am I doing something wrong or ...

Re: [Wicket-user] RE: combo box displaying choose one

2006-05-31 Thread Vincent Jenks
add(new DropDownChoice(dropdown, model, values) { protected String getDefaultChoice(final Object selected) { return ; //this fixes your problem... } public String getDisplayValue(Object object) {