myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Don Kleppinger (JIRA)" <>
Subject [jira] Commented: (TRINIDAD-962) It is not possible to style the options in a SelectOneChoice
Date Tue, 06 Jan 2009 18:28:44 GMT


Don Kleppinger commented on TRINIDAD-962:

In Firefox you can modify the default stylesheet and style the "select" element which the
SelectOneChoice is based on.  The issue is that the options are marked !Important so they
can't be overridden.

in [FirefoxInstallDir]\res\forms.css


select:focus > optgroup > option:checked {
  background-color: Highlight  ! important;
  color: HighlightText ! important;

Change Highlight to some other color to change hover background

> It is not possible to style the options in a SelectOneChoice
> ------------------------------------------------------------
>                 Key: TRINIDAD-962
>                 URL:
>             Project: MyFaces Trinidad
>          Issue Type: Improvement
>          Components: Skinning
>    Affects Versions: 1.0.1-core, 1.0.2-core, 1.0.3-core, 1.0.4-core, 1.0.5-core, 1.0.6-core
>            Reporter: Rafael PĂ©rez
>            Priority: Minor
> By now, there is no way to add style information to tr:selectItem (options in a SelectOneChoice).
In some cases it is necessary to add a background color o change the font color to some options
in a drop down list to point some differences between the elements. 

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message