You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by eugenebalt <eu...@yahoo.com> on 2011/07/22 21:24:48 UTC

"Select" Component with Blank Choice at the Top

I am using the Select component to represent the HTML OptionGroup with
Options.

The Select must have a blank choice displayed at the top. 

With DropDowns, I would have been able to do "setNullValid", but Select
doesn't have this method. Any ideas? Thanks a lot.

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Select-Component-with-Blank-Choice-at-the-Top-tp3687589p3687589.html
Sent from the Users forum mailing list archive at Nabble.com.

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


Re: "Select" Component with Blank Choice at the Top

Posted by Martin Grigorov <mg...@apache.org>.
new SelectOption(id, Model.of("")) ?!

On Fri, Jul 22, 2011 at 10:24 PM, eugenebalt <eu...@yahoo.com> wrote:
> I am using the Select component to represent the HTML OptionGroup with
> Options.
>
> The Select must have a blank choice displayed at the top.
>
> With DropDowns, I would have been able to do "setNullValid", but Select
> doesn't have this method. Any ideas? Thanks a lot.
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/Select-Component-with-Blank-Choice-at-the-Top-tp3687589p3687589.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

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