3 Replies Latest reply on Feb 23, 2009 4:32 AM by Nick Belaevski

    How To: Skinnability: For JSF and seam components !

    Prathamesh Gaddam Novice

      Hi,

      I have following queries (w.r.t richfaces developer guide: Skinnability) and issues :

      1. The custom.skin.properties (customized message bundle for skin) are applied excluding scroller-bar, selectOnemenu and toolTip (till now). Whay its not applying skins to these components and how to olve it.

      I'hv used Theme selector for dynamic skin selection in web.xml

       <context-param>
       <param-name>org.richfaces.SKIN</param-name>
       <param-value>#{themeSelector.theme}</param-value>
       </context-param>
      


      along with the skin controls

       <context-param>
       <param-name>org.richfaces.CONTROL_SKINNING</param-name>
       <param-value>enable</param-value>
       </context-param>
      
       <context-param>
       <param-name>org.richfaces.CONTROL_SKINNING_CLASSES</param-name>
       <param-value>le</param-value>
       </context-param>
      


      2. How and where to define .xcss to modify the skinnability specific to wrapping component. e.g I'm using the <s:link> as column header for rich:datatable. It is applied with selected skin color. Instead, I want to contradict the color as per skin selection and that to only for rich:datatable column header only.

      I'hv tried using the .css file however it accepts only constants values and not accepting parameters from custom.skin.properties bundle.

      3. Built-in Skinnability in RichFaces (w.r.t richfaces developer guide): Whats the use of renderer/renderkit? Any sample code how renderer id defined demonstrating the its use

      warm regards