Hi,
Thank you for the thoughts. We managed to get around this in the following
way for completness
class TestVO{
public Country selected= countryList.get(0);//I get the first item can
be
any other way
}
countryChoice = new DropDownChoice<Country>("voName.country", new
PropertyModel(new TestVO(),"selected"),countryList, defaultChoiceRenderer);
Doing this..sets the Choose One to the default value that was set in the
TestVO.
Reference:
https://cwiki.apache.org/WICKET/dropdownchoice-examples.html
https://cwiki.apache.org/WICKET/dropdownchoice-examples.html
Thanks
Nive
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/DropDownChoice-Choose-One-Selected-Item-tp3298535p3320479.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]