You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Andrew Robinson (JIRA)" <de...@myfaces.apache.org> on 2007/08/23 17:32:30 UTC

[jira] Created: (TRINIDAD-645) Provide a programmatic API to retrieve CSS properties for a given CSS style selection

Provide a programmatic API to retrieve CSS properties for a given CSS style selection
-------------------------------------------------------------------------------------

                 Key: TRINIDAD-645
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-645
             Project: MyFaces Trinidad
          Issue Type: New Feature
          Components: Skinning
    Affects Versions: 1.0.2-core
            Reporter: Andrew Robinson
            Priority: Minor


It is only possible to get a style property from a skin if the following is done:

af|panelBox::medium af|panelBox::body {
 color: red;
 -tr-my-color-property: red;
}
The -tr-my-color-property gets registered with the skin automatically.

You retrieve it by calling skin.getProperty("af|panelBox::medium af|panelBox::body-tr-my-color-property")

It would be great to be able to get this information without using this "-tr-" convention and be able to access all the "normal" css properties for a style selector.


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