Hi nitinkc,

Calling setNullValid (false) on the drop down choice should get rid of the default "choose one" text.

If the ddc model should always have a value defined then you could set the model object to be for example the first choice.

e.g. ddc.setModelObject (ddc.getChoices().get(0));

Regards,

Mike

I would like to remove the default "choose one" option from the
DropDownChoice component.
Does anyone know how to do this. Thanks.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to