2 Replies Latest reply on Aug 15, 2009 10:08 PM by yilmaz_

    Do Seam components accept Richfaces skinning?

    jgreene

      I posted this originally on the Richfaces forum, but have not received an answer as yet.


      It seems like the Richfaces skinning for common components do not get completely applied to the Seam components like they do for the non-Seam components.  Is there a way to completely apply the skin to the Seam components?  Namely, I use a couple of s:link components and s:selectItems components for select boxes.  The skinning does not get fully applied to these (and maybe others).


      Here's what I added to my web.xml file per the Richfaces docs:



      <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>enable</param-value>
      </context-param>
      



      Buttons and input fields take on a gradient background color, and the input fields also are shaded in a gradient fashion.  The Seam select box background, however, has the font style applied, but no gradient background shading like the standard input field component.


      The Seam s:link has a different color than the normal links, but does not have a mouseover color change.


      thanks for any help.

        • 1. Re: Do Seam components accept Richfaces skinning?
          fpr69

          I'm running into the same issue, where gradients are not displaying for input boxes.  I've configured my web.xml as Joe indicated above.  My Panels are having the skinning, but the input, buttons and drop down lists don't have the skinning applied.


          Any assistance is greatly appreciated.  Thanks-

          • 2. Re: Do Seam components accept Richfaces skinning?
            yilmaz_

            This is my web.xml and it is working fine.


              <context-param>
                <param-name>org.richfaces.SKIN</param-name>
                <param-value>blueSky</param-value>
              </context-param>
              <context-param>
                <param-name>org.richfaces.CONTROL_SKINNING</param-name>
                <param-value>enable</param-value>
              </context-param>