I needed to do the same thing. I saw this on another post and it works fine. Override getDefaultChoice:
protected CharSequence getDefaultChoice(Object selected) { return "<option selected=\"selected\" value=\"\">Choose One</option>"; } You can use getLocalizer().getString("yourpage.dropdownchoice.defaultvalue", this) for your different languages. Warren -----Original Message----- From: Gatos [mailto:ega...@gmail.com] Sent: Thursday, August 27, 2009 5:46 AM To: users@wicket.apache.org Subject: Choose one After I choose something in DropDownChoice then 'Choose one' item is removed from the list. If I will try to use "setNullValid(true)" then 'Choose one' string is replaced with '' (emptry string). How is it possible to display 'Choose one' if another item has been selected? --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org