Tuesday, 19 March 2013

RichFaces Framework….

Hi friends today i saw an article about the richfaces framework and about the skinability,,,,,,,,
Skinnability
Skinnability is a special feature of RichFaces that is used for defining common interface styles. The feature is based on XCSS technology which provides flexibility and dynamics. RichFaces provides a set of predefined skins:
  • DEFAULT
  • plain
  • emeraldTown
  • blueSky
  • wine
  • japanCherry
  • ruby
  • classic
  • deepMarine
  • Laguna (new – RichFaces 3.2.1)
  • GlassX (new – RichFaces 3.2.2)
  • DarkX (new – RichFaces 3.2.2)
Skin properties, such as, generalBackgroundColor, generalLinkColor, headerFamilyFont etc are stored in skinname.skin.properties file. Each component has a XCSS (a special file format that combines flexibility of XML and CSS) file that performs mapping of CSS selectors to the skin properties of a particular skin. Additionally, RichFaces provides skinning for standard HTML controls. You can create a custom skin using Plug-n-Skin feature, which is a Maven archetype that builds a skeleton for a new skin.

No comments:

Post a Comment