3 Replies Latest reply on Dec 5, 2011 6:59 AM by Brendan Healey

    Equivalent of org.richfaces.LoadScriptStrategy in RF 4.1 CR1

    kevin 2 Newbie

      Hello,

       

      I'm migrating an application from RichFaces 3.3.3 to 4.1 (CR1) and I'm wondering what are the equivalent of the following parameters used in web.xml for resource loading strategy :

       

      <!-- Load all Richfaces JS in one file -->
      <context-param>
          <param-name>org.richfaces.LoadScriptStrategy</param-name>
          <param-value>ALL</param-value>
      </context-param>
      <!--  Load all Richfaces CSS in one file -->
      <context-param>
          <param-name>org.richfaces.LoadStyleStrategy</param-name>
          <param-value>ALL</param-value>
      </context-param>

       

      I've read this documentation but it's not clear and I don't know what parameters I have to set.

       

      What I want is to have only one request (or two) for loading JavaScripts and CSS.

       

      Thanks by advance.