4 Replies Latest reply on Feb 3, 2012 9:33 AM by Lukáš Fryč

    Richfaces 4.1.0.0.Final trying to get org.richfaces.resourceMapping.compressedStages to work

    Roman Karnes Newbie

      I'm trying to get the org.richfaces.resourceMapping.compressedStages and org.richfaces.resourceMapping.packedStages to work with my app.

       

      I'm using Richfacese 4.1.0.0.Final with JBOSS AS 5.1

       

      My web.xml looks like this.

       

      <context-param>

        <param-name>org.ajax4jsf.xmlparser.ORDER</param-name>

        <param-value>NONE,NEKO,TIDY</param-value>

      </context-param>

      <context-param>

        <param-name>org.ajax4jsf.xmlparser.NEKO</param-name>

        <param-value>.*\..*</param-value>

      </context-param>

      <context-param>

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

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

        </context-param>

        <context-param>

            <param-name>org.richfaces.resourceMapping.compressedStages</param-name>

            <param-value>All</param-value>

        </context-param>

        <context-param>

            <param-name>org.richfaces.resourceMapping.packedStages</param-name>

            <param-value>All</param-value>

        </context-param>

          <servlet>

              <servlet-name>Resource Servlet</servlet-name>

              <servlet-class>org.richfaces.webapp.ResourceServlet</servlet-class>

              <load-on-startup>1</load-on-startup>

          </servlet>

          <servlet-mapping>

              <servlet-name>Resource Servlet</servlet-name>

              <url-pattern>/org.richfaces.resources/*</url-pattern>

          </servlet-mapping>

       

       

      with this I'm getting the following javascript error:

      'jsf' is undefined