Hi,

could you compare your case with DropDownChoicePage from wicket-examples?

If I add #setNullValid(true) true the dropDown, it works as expected:

form.add(new DropDownChoice<String>("site", SITES).setNullValid(true));

Sven

On 02/25/2013 01:21 PM, venkat wrote:
Hi ,

Anyone please let me know how to retain "ChooseOne" option in dropdownchoice
even user has selected an option and model get updated with selected value.

have used

myDropDown.setNullValid(true);

it is showing the blank option after this change. Moreover, once user
selects any value this option  this blank option is being removed.

Thanks
Venkat





--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/How-to-Keep-ChooseOne-option-in-DropDownChoice-tp4656760.html
Sent from the Users forum mailing list archive at Nabble.com.

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



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

Reply via email to