You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Kaspar Fischer <fi...@inf.ethz.ch> on 2008/03/17 10:43:37 UTC
Support for
Is there an easy way to disable items in a DropDownChoice?
I'd like to output something like this:
<option value="12" disabled="disabled">Item</option>
Kaspar
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Support for
Posted by Jonas <ba...@gmail.com>.
To have more control over the options, you have to use
org.apache.wicket.extensions.markup.html.form.select.Select
There's a usage example in the javadoc.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Support for
Posted by Kaspar Fischer <fi...@inf.ethz.ch>.
Jonas, Gerolf, thanks a lot for your answers! I've just set up my build
environment to use the latest wicket-extensions -- great!
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Support for
Posted by Gerolf Seitz <ge...@gmail.com>.
afaik, it's not (easily) possible with DropDownChoice.
Take a look at the Select, SelectOption, SelectOptions classes in
wicket-extensions,
as they give you more power over the single options.
Gerolf
On Mon, Mar 17, 2008 at 10:43 AM, Kaspar Fischer <fi...@inf.ethz.ch>
wrote:
> Is there an easy way to disable items in a DropDownChoice?
> I'd like to output something like this:
>
> <option value="12" disabled="disabled">Item</option>
>
> Kaspar
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>