Martin, According to what you said, do I need to add special processing in ChoiceRenderer if this blank line is the selected and I need to convert selected value to object?
Thanks, David --- On Wed, 3/17/10, Martin Phee <mp...@objectivearts.com> wrote: > From: Martin Phee <mp...@objectivearts.com> > Subject: Re: Replace "Choose one" from DropDownChoice? > To: users@wicket.apache.org > Date: Wednesday, March 17, 2010, 10:05 AM > You have to add a selection choice > that is just a blank line option. > > This is a typical requirement for any dropdown if you wan > the use to be able to clear their choice. > > > On Mar 17, 2010, at 8:47 AM, David Chang wrote: > > > Martin, > > > > Thanks so much for chiming in. I tried the > > > > null= > > > > approach. The blank line in the dropdown list simply > disappears. As I said in my requirements, I hope to have it > there no matter whether a value is selected or not, no > matter whether it is a required field or not. > > > > Again, thanks for help! > > Best, > > David > > > > --- On Wed, 3/17/10, Martin Asenov <mase...@velti.com> > wrote: > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org