On Wed, 11 Jun 2008, Martin Makundi wrote: > I have noticed that with DropDownChoice, if the currently selected > value is Null, you get this "choose one" item. And sometimes in a > dynamic situation you get it still.
Yeah, it's easy to miss setting the currently selected value for when DropDownChoice is rendered for the first time. Hence it's always a good idea to supply it in the constructor. It can get tricky if you want to have the default choice in the UI, but not necessarily update it to the domain object property that the selection is bound to. If this is required, you can get around it by a custom model. Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations Oy <URL: http://www.ri.fi/ > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
