Thanks gwyn! I was not adding the default value to the ddc and that's why it was showing the "choose one" option. As you said, it's best to do that in the constructor.
Gwyn wrote: > > Just to summarise, you need to do two things: set a 'current selection' > and > call setNullValid(false). > > /Gwyn > > On Wed, Jun 11, 2008 at 6:14 PM, nitinkc <[EMAIL PROTECTED]> wrote: > >> >> I would like to remove the default "choose one" option from the >> DropDownChoice component. >> Does anyone know how to do this. Thanks. >> -- >> View this message in context: >> http://www.nabble.com/Dropdownchoice-without-default-option-%22choose-one%22-tp17782776p17782776.html >> Sent from the Wicket - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > -- View this message in context: http://www.nabble.com/Dropdownchoice-without-default-option-%22choose-one%22-tp17782776p17786956.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]