2 Replies Latest reply on Jul 24, 2012 10:21 AM by Brendan Healey

    Bug with resources optimization in RichFaces 4.2.2.FINAL (org.richfaces.resourceOptimization.enabled)

    Mikael Robert Newbie

      Hi,

       

      I am trying to setup resource optimization in a JSF application with richfaces 4.2.2.FINAL.

      My problem is that when the parameter :

       

       

      <context-param>

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

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

      </context-param>

       

      is at true, when i submit my login form i am redirected with a 302 on a random static resource (such as packed.css, packed.js or jquery.js).

       

      i am redirected to http://localhost:8080/myapp/org.richfaces.resources/javax.faces.resource/org.richfaces.staticResource/4.2.2.Final/PackedCompressed/packed/packed.js

       

      If i set this parameter to false, the bug doesn't occur.

       

      Do you have any idea ? Is it a bug in my application or in Richfaces?

       

      Thanks per advance,

       

      Best regards,