[ 
http://issues.apache.org/jira/browse/ADFFACES-196?page=comments#action_12439430 
] 
            
Martin Koci commented on ADFFACES-196:
--------------------------------------

Problem is with matching
 <element class="styleClass1">
     <element class="styleClass2"/>
</element>.

Example:
jsp: <tr:inputText styleClass="styleClass1 styleClass2" />

 In skin file is ' ' (space)  not '.' (dot) between selectors:
 .styleClass1 af|inputText::content {
   ....
}

Generated stylesheet:
.styleClass1 .af_inputText_content,.xch .x1m

Rendered html output:
<span class="styleClass1 styleClass2">
   <input class="x1m" />
</span>

Selector will not match because styleClass1 is not compressed to 'xch'



> Allow using of compression (of names) for user suplied CSS class names
> ----------------------------------------------------------------------
>
>                 Key: ADFFACES-196
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-196
>             Project: MyFaces ADF-Faces
>          Issue Type: Bug
>            Reporter: Martin Koci
>         Attachments: FormInputRenderer.java.patch
>
>
> For now if user supplied CSS class names in styleClass attribute it works as 
> following:
> styleClass="styleClass1" - output in HTML is "x1n" (for example)
> styleClass="styleClass1 styleClass2" - output is "styleClass1 styleClass2"
> Problem is in FormInputRenderer.renderRootDomElementStyles - this method 
> should split styleClass values and pass it in renderStyleClasses.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to