Am 15.04.2011 15:55, schrieb tech7:
Any suggestion?
-----
Wicket-Java
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Choose-One-problem-with-DropDownChoice-tp3451837p3452096.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
new DropDownChoice("myId", Model.of(selected), ListModel.of(choices));
If you remove the item from choices the ddc can't set anything selected
anymore. So it displays "Choose one".
If you want to display another item, set it to model representing
selected item in ddc.
Cheers
Mike
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]