RichFaces 4 - how to disable skins

user219882 picture user219882 · Sep 15, 2011 · Viewed 7.2k times · Source

Is there any way how to disable all skins RichFaces apply? They ruin my layout and override fonts, links,...

Answer

Cristan picture Cristan · Dec 23, 2011

In RichFaces 4.1 you can disable skinning by adding the following to your web.xml

<context-param>
    <param-name>org.richfaces.enableControlSkinning</param-name>
    <param-value>false</param-value>
</context-param>

(I found this and other parameters at http://docs.jboss.org/richfaces/latest_4_1_X/javadoc/richfaces-core-impl/org/richfaces/application/CoreConfiguration.Items.html)