[ https://issues.apache.org/jira/browse/TRINIDAD-2449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13893831#comment-13893831 ]
Jeanne Waldman commented on TRINIDAD-2449: ------------------------------------------ Completed: At revision: 1565446 > warning logged for bad icons is internal - not required for customers > --------------------------------------------------------------------- > > Key: TRINIDAD-2449 > URL: https://issues.apache.org/jira/browse/TRINIDAD-2449 > Project: MyFaces Trinidad > Issue Type: Bug > Components: Skinning > Affects Versions: 2.1.0-core > Reporter: Anand V Nath > Priority: Trivial > Fix For: 2.1.1-core > > Attachments: jira-2449.patch > > > Skinning framework has a convention for defining IconStyles. Styles ending > with '-icon' (or contains '-icon:' for handling psuedo classes) or alias > ending with 'Icon:alias' are considered as IconStyles. The basic requirement > for an IconStyle is that it should have a 'content'. However skin framework > does not enforce this. For backward compatibility reasons and because the > styles were already public, we allow users to use styles defined in the > IconStyle format as normal styles. But we log a warning for those IconStyles > that do not have a 'content': > WARNING: The skin selector af|dialog::close-icon is not a Skin Icon Object > since it does not have a content attribute. If you created this selector, > please rename it to end with "style" instead of "icon" so that the Skinning > Framework will treat it as a style, not an icon. > The warning for bad IconStyles is mainly for internal styles and need not be > highlighted as a warning to external customers. We can log this as an INFO > instead of WARNING. -- This message was sent by Atlassian JIRA (v6.1.5#6160)