Reputation: 71
I'm trying to change the font and some other css class in richfaces.
My question is how can I access the skin parameters like #{richSkin.generalFamilyFont}? or is there another way to change the font?
Thanks in advance
Upvotes: 0
Views: 1271
Reputation: 393
Skins in RichFaces can be customized on each of the three levels:
Application interfaces can be modified by altering the values of skin parameters in the skin itself. Edit the constant values defined in the skin.properties file to change the style of every component mapped to that skin property.
Mappings and other style attributes listed in a component's ECSS file can be edited. Edit the ECSS file to change the styles of all components of that type.
Individual components can use the styleClass attribute to use a unique style class. Add the new style class to the application CSS and reference it from an individual component with the styleClass attribute.
You can load custom stylesheets using which rewrites of extends styles defined for style classes of components.
More details you can find here
I hope this helps! :)
Upvotes: 1