You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Josh Kamau <jo...@gmail.com> on 2010/04/14 14:00:10 UTC

DropDownList

Hi team;

Please tell me , how do i change the "Choose One" text on the drop down list
to something else?

regards;

Josh

Re: DropDownList

Posted by Josh Kamau <jo...@gmail.com>.
Thanks robert, major.. It worked.

regards
Josh

2010/4/14 Major Péter <ma...@sch.bme.hu>

> http://lmgtfy.com/?q=wicket+change+choose+one+text
>
> 2010-04-14 14:00 keltezéssel, Josh Kamau írta:
> > Hi team;
> >
> > Please tell me , how do i change the "Choose One" text on the drop down
> list
> > to something else?
> >
> > regards;
> >
> > Josh
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Re: DropDownList

Posted by Major Péter <ma...@sch.bme.hu>.
http://lmgtfy.com/?q=wicket+change+choose+one+text

2010-04-14 14:00 keltezéssel, Josh Kamau írta:
> Hi team;
> 
> Please tell me , how do i change the "Choose One" text on the drop down list
> to something else?
> 
> regards;
> 
> Josh

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: DropDownList

Posted by Robert Kimotho <ki...@gmail.com>.
Override getDefaultChoice()

as in the following code:-

@Override
            	protected CharSequence getDefaultChoice(Object selected) {
            		return "<option value=\"\">your header</option>";
            	}

On Wed, Apr 14, 2010 at 3:00 PM, Josh Kamau <jo...@gmail.com> wrote:
> Hi team;
>
> Please tell me , how do i change the "Choose One" text on the drop down list
> to something else?
>
> regards;
>
> Josh
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org