dev@javaserverfaces.java.net

Re: Should disabledClass be applied to select element too?

From: Jayashri Visvanathan <Jayashri.Visvanathan_at_Sun.COM>
Date: Wed, 14 Sep 2005 15:34:18 -0700

Hi Mike,
  There is no disabledClass attribute on select tag, its only available
on the options. So the change could be as simple as letting "disabled"
be rendered as part of "pass through" attributes. Let me know if I am
missing something here.
Thanks
-Jayashri

Michael Youngstrom wrote:

>>> Now that Roger has confirmed that we can fix in the RI, we don't
>>>have a "disabledClass" on select tag and we only have it on options. So
>>>our fix would be to render "disabled" on select if the attribute is
>>>specified. Does that make sense ?
>>>
>>>
>
>I believe so. So to restate, if the UISelectMany's "disabled"
>attribute is set and the "disabledClass" attribute is set then add
>code to set the select tag's class to the value of "disabledClass".
>Just like the option attributes are currently being rendered. I'll
>also look at UISelectOne to see if it might need the same change.
>
>If that sounds correct I'll go ahead and take a stab at a patch and
>create an issue and see how it goes.
>
>Mike
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe_at_javaserverfaces.dev.java.net
>For additional commands, e-mail: dev-help_at_javaserverfaces.dev.java.net
>
>
>