myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeanne Waldman (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (TRINIDAD-17) Need to support mapping icons via -tr-rule-ref like we do with styles.
Date Fri, 06 Aug 2010 00:40:16 GMT

    [ https://issues.apache.org/jira/browse/TRINIDAD-17?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12895892#action_12895892
] 

Jeanne Waldman commented on TRINIDAD-17:
----------------------------------------

I thought of a COMMON usecase where we will pollute the css file quite a bit if we do not
fix.
If we have:

af|inputColor::changed-icon,
af|inputComboboxListOfValues::changed-icon,
af|inputDate::changed-icon,
af|inputFile::changed-icon,
af|inputListOfValues::changed-icon,
af|inputNumberSlider::changed-icon,
af|inputNumberSpinbox::changed-icon,
af|inputRangeSlider::changed-icon,
af|inputText::changed-icon,
af|richTextEditor::changed-icon,
af|selectBooleanCheckbox::changed-icon,
af|selectBooleanRadio::changed-icon,
af|selectManyCheckbox::changed-icon,
af|selectManyChoice::changed-icon,
af|selectManyListbox::changed-icon,
af|selectManyShuttle::changed-icon,
af|selectOneChoice::changed-icon,
af|selectOneListbox::changed-icon,
af|selectOneRadio::changed-icon,
af|selectOrderShuttle::changed-icon {

  -tr-rule-ref: selector(".AFChangedIcon:alias");
}

.AFChangedIcon:alias {
  content: url(/afr/changed.png);
  vertical-align: text-bottom;
  padding-right: 3px;
}

All of these selectors will get created as icons AND styles.
It would be nice if we could at least put in a check for this usecase, probably in SkinStyleSheetParserUtils


> Need to support mapping icons via -tr-rule-ref like we do with styles.
> ----------------------------------------------------------------------
>
>                 Key: TRINIDAD-17
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-17
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Skinning
>    Affects Versions: 1.2.1-core
>         Environment: Windows.
>            Reporter: Bill Baggett
>            Assignee: Jeanne Waldman
>             Fix For: 2.0.0.3-core
>
>
> Trinidad skinning supports mapping styles in a css file via the -tr-rule-ref.  But, it
doesn't support mapping icons this way.  We need to support this.

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


Mime
View raw message