Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
499 views
in Technique[技术] by (71.8m points)

themes - RichFaces 4 - how to disable skins

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

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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)


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...