Re: Support for option disabled=disabled

2008-03-17 Thread Jonas
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Support for option disabled=disabled

2008-03-17 Thread Gerolf Seitz
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 [EMAIL PROTECTED]
wrote:

 Is there an easy way to disable items in a DropDownChoice?
 I'd like to output something like this:

   option value=12 disabled=disabledItem/option

 Kaspar

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




Support for option disabled=disabled

2008-03-17 Thread Kaspar Fischer

Is there an easy way to disable items in a DropDownChoice?
I'd like to output something like this:

  option value=12 disabled=disabledItem/option

Kaspar

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Support for option disabled=disabled

2008-03-17 Thread Kaspar Fischer

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]