You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-issues@incubator.apache.org by "Adam Winer (JIRA)" <ad...@incubator.apache.org> on 2006/09/25 21:54:51 UTC

[jira] Commented: (ADFFACES-196) Allow using of compression (of names) for user suplied CSS class names

    [ http://issues.apache.org/jira/browse/ADFFACES-196?page=comments#action_12437674 ] 
            
Adam Winer commented on ADFFACES-196:
-------------------------------------

The overhead of running styleClass.split() on every request seems too much, esp. since the 99% case is when a user only specifies one styleclass.  This should be optimized.  (Also, the patch doesn't use Trinidad code style conventions).

> 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