0 Replies Latest reply on Oct 5, 2011 5:34 AM by F M

    Disable Richfaces 4 styles

    F M Newbie

      Hi,

       

      I need to be able to define our own CSS.

       

      Currently when I had my site CSS using h:outputStylesheet, the richfaces styles are defined after mine in the header, and therefore have priority over mine...

       

      I tried to use the following parameters in the web.xml:

       

          <context-param>
              <param-name>org.richfaces.skin</param-name>
              <param-value>plain</param-value>
          </context-param>
          <context-param>
              <param-name>org.richfaces.baseSkin</param-name>
              <param-value>plain</param-value>
          </context-param>
          <context-param>
              <param-name>org.richfaces.enableControlSkinning</param-name>
              <param-value>false</param-value>
          </context-param>
          <context-param>
              <param-name>org.richfaces.enableControlSkinningClasses</param-name>
              <param-value>false</param-value>
          </context-param>
          <mime-mapping>
              <extension>ecss</extension>
              <mime-type>text/css</mime-type>
          </mime-mapping>
          <context-param>
              <param-name>org.richfaces.LoadScriptStrategy</param-name>
              <param-value>ALL</param-value>
          </context-param>
      

       

      But the components ECSS are still there (e.g.: /rfRes/Autocomplete.ecss.jsf?db=eAGbfPBrBwAHBQLS&ln=org.richfaces).

       

      How can I force richfaces not to include these ECSS in my pages ?

       

      Thanks in advance,

      Regards,

       

      Florian