RE: Replace "Choose one" from DropDownChoice?

2010-03-17 Thread David Chang
, 3/17/10, Martin Asenov wrote: > From: Martin Asenov > Subject: RE: Replace "Choose one" from DropDownChoice? > To: "users@wicket.apache.org" > Date: Wednesday, March 17, 2010, 10:34 AM > David, please describe the use case > in more depths. > > 1) >

RE: Replace "Choose one" from DropDownChoice?

2010-03-17 Thread Martin Asenov
zh...@yahoo.com] Sent: Wednesday, March 17, 2010 4:31 PM To: users@wicket.apache.org Subject: Re: Replace "Choose one" from DropDownChoice? 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

Re: Replace "Choose one" from DropDownChoice?

2010-03-17 Thread David Chang
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 wrote: > From: Martin Phee > Subject: Re: Replace "Choos

RE: Replace "Choose one" from DropDownChoice?

2010-03-17 Thread Martin Asenov
rom: David Chang [mailto:david_q_zh...@yahoo.com] Sent: Wednesday, March 17, 2010 3:48 PM To: users@wicket.apache.org Subject: RE: Replace "Choose one" from DropDownChoice? Martin, Thanks so much for chiming in. I tried the null= approach. The blank line in the dropdown list simply disappears.

Re: Replace "Choose one" from DropDownChoice?

2010-03-17 Thread Martin Phee
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

RE: Replace "Choose one" from DropDownChoice?

2010-03-17 Thread David Chang
help! Best, David --- On Wed, 3/17/10, Martin Asenov wrote: > From: Martin Asenov > Subject: RE: Replace "Choose one" from DropDownChoice? > To: "users@wicket.apache.org" > Date: Wednesday, March 17, 2010, 9:08 AM > Hi, David! > > Let's presume you

Re: Replace "Choose one" from DropDownChoice?

2010-03-17 Thread Martin Makundi
It's just a localization property .null or .nullValid if that's what you want to change? ** Martin 2010/3/17 David Chang : > > Hello, I understand that there must be a solution for this. I googled for > some time and found one or two results that seem to match what I am looking > but they did n

RE: Replace "Choose one" from DropDownChoice?

2010-03-17 Thread Martin Asenov
Hi, David! Let's presume your webapplication class is called WebApp.java. In the same directory where it is present, create WebApp.properties with the following line: null= that way every single 'choose one' label will be replaced with "". P.S. Don't forget to include the props files in the po