5 Replies Latest reply: May 15, 2012 8:40 AM by Mustapha ouaser RSS

Richfaces4.2- Resource Optimization with plain skin

Jeevendran Mahibalan Newbie

I am trying to use Richfaces4.2 with Resource Optimization enabled with plain skin. But rich:autocomplete doesn't work[actually the partial response contains the suggestions, but doesn't get rerendered].

Without resource optimization or with any other skin, it works. Could anyone help me out with  this issue, as we are in a position, that resource optimization is mandatory to increase the performance/client response?

My environment is JBoss 7.1.1.Final, Richfaces4.2, Spring3.0, JSF2.0

 

As per the document i've added the following in web.xml

 

<context-param>

        <param-name>javax.faces.PROJECT_STAGE</param-name>

        <param-value>Production</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>

 

 

<context-param>

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

        <param-value>true</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>