1 Reply Latest reply on Dec 3, 2013 6:37 PM by bleathem

    Resource Optimization settings in RF 4.0.0-Final

    paul_da_programmer

      Hi,

      I'm attempting to turn on resource optimization (packing) for my applicaiton using RF 4.0.0 running under JBoss 6.1.0

       

      I know that the means to turn this on changed from RF 3.x to RF 4.x (RichFaces Migration Guide. 3.3.x - 4.x Migration - Upgrading)

      The problem is neither the 3.x means or the 4.x means seem to work with the 4.0.0-Final version.

      I'm also using skinning (blueSky) and have seen posts that indicate that packing doesn't work with a skinned application.

       

      In my web.xml I've inserted both sets of configuration parameters, but the app refuses to pack and compress all of the RF .js and .css files

      <context-param>

          <param-name>org.richfaces.resourceOptimization.enabled</param-name>

          <param-value>true</param-value>

      </context-param>

      <context-param>

          <param-name>org.richfaces.LoadScriptStrategy</param-name>

          <param-value>ALL</param-value>

      </context-param>

      <context-param>

          <param-name>org.richfaces.LoadStyleStrategy</param-name>

          <param-value>ALL</param-value>

      </context-param>

       

       

      Any pointers?