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

Marius Petoi commented on TRINIDAD-1680:
----------------------------------------

Hi Jeanne,

I reformatted the code with the JDeveloper Classic code style. Hopefully, this 
is the one you are using in Trinidad. If not...tell what to modify in it (I see 
that is very similar to the way the code in Trinidad is formatted). Also I 
added an example in purpleSkin.css, as you suggested. The reason it didn't work 
for you was that you left an empty space between "background-color", and 
localPropertyName. I modified the code so that empty spaces are skipped.

Marius

> Introduce include-property in CSS
> ---------------------------------
>
>                 Key: TRINIDAD-1680
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1680
>             Project: MyFaces Trinidad
>          Issue Type: New Feature
>          Components: Skinning
>            Reporter: Marius Petoi
>            Priority: Minor
>         Attachments: includeProperty.patch, includeProperty.patch, 
> patchIncludeProperty.patch
>
>
> The include-property feature is present in the XSS, but it is not supported 
> in the CSS. With this, we are one step closer to eliminating the old XSS 
> files and replacing them with CSS. In the XSS files, the syntax of 
> includeProperty is:
>  <!-- AFVeryDarkForeground is the darkest foreground color in the core (green)
>      color ramp -->
>  <style name="AFVeryDarkForeground">
>   <includeProperty name="AFVeryDarkBackground"
>                    propertyName="background-color"
>                    localPropertyName="color"/>
>  </style>
> This should be ported to CSS also.

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

Reply via email to