[richfaces-issues] [JBoss JIRA] (RF-12538) Setting enableControlSkinning=false still applies styles to rich:message

Brian Leathem (JIRA) jira-events at lists.jboss.org
Tue Oct 23 12:28:01 EDT 2012


     [ https://issues.jboss.org/browse/RF-12538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Leathem resolved RF-12538.
--------------------------------

    Resolution: Done


_org.richfaces.enableControlSkinning_ controls the skinning of "Standard HTML controls".  See the [RichFaces ref guide|http://docs.jboss.org/richfaces/latest_4_2_X/Developer_Guide/en-US/html/chap-Developer_Guide-Skinning_and_theming.html#sect-Developer_Guide-Skinning_and_theming-Skinning_standard_controls] for further details.

To disable skinning of RichFaces components, use the plain skin, as in:
{code}
    <context-param>
        <param-name>org.richfaces.skin</param-name>
        <param-value>plain</param-value>
    </context-param>
    <context-param>
        <param-name>org.richfaces.enableControlSkinning</param-name>
        <param-value>false</param-value>
    </context-param>
{code}
                
> Setting enableControlSkinning=false still applies styles to rich:message
> ------------------------------------------------------------------------
>
>                 Key: RF-12538
>                 URL: https://issues.jboss.org/browse/RF-12538
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: skinning
>    Affects Versions: 4.2.1.Final, 4.2.2.Final, 4.3.0.M1
>         Environment: JBoss 7, server provided Mojarra JSF implementation, application UI styled using Twitter Bootstrap.
>            Reporter: Ivo Maixner
>
> Having org.richfaces.enableControlSkinning=false in web.xml. All UI components styles are left untouched by RichFaces (and so still styled by Bootstrap), but rich:message and rich:messages are re-styled by RichFaces (and so the Bootstrap styling is over-ridden and ruined).
> Setting enableControlSkinning=false should prevent any styles being applied by RichFaces.
> I resort to RichFaces only to propagate JSR-303 bean validation onto client side in JavaScript. I do not want RichFaces to mess with my UI design.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the richfaces-issues mailing list