0 Replies Latest reply: May 7, 2012 5:54 AM by veniero merlini RSS

RichFaces is not defined RF 3.3.3

veniero merlini Newbie

Hi I found this problem using firebug in my SpringWF-Jsf-Richfaces project when I load my page.


My main jars are:

richfaces-ui 3.3.3
richfaces-api 3.3.3
richfaces-impl 3.3.3
spring-web-flow 2.3.0
spring 3.0.5
jsf-impl-1.2_12.jar
jsf-api-1.2_12.jar
jsf-facelets-1.1.12.jar

 

My web.xml is

 

##########################

 

  <context-param>

    <param-name>contextConfigLocation</param-name>

    <param-value>/WEB-INF/config/web-application-config.xml</param-value>

  </context-param>

  <context-param>

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

    <param-value>.xhtml</param-value>

  </context-param>

  <context-param>

    <param-name>facelets.REFRESH_PERIOD</param-name>

    <param-value>2</param-value>

  </context-param>

  <context-param>

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

    <param-value>server</param-value>

  </context-param>

  <context-param>

    <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>

    <param-value>com.sun.facelets.FaceletViewHandler</param-value>

</context-param>

 

  <context-param>

    <param-name>com.ibm.ws.jsf.LOAD_FACES_CONFIG_AT_STARTUP</param-name>

    <param-value>false</param-value>

  </context-param>

 

<!-- ############# RICH FACES ########### -->

<context-param>

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

   <param-value>blueSky</param-value>

</context-param>

<context-param>

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

      <param-value>enable</param-value>

</context-param>

<context-param>

    <param-name>org.ajax4jsf.handleViewExpiredOnClient</param-name>

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

</context-param>

<!-- -->

<context-param>

     <param-name>javax.faces.DISABLE_FACELET_JSF_VIEWHANDLER</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>

 

 

 

 

<filter>

   <display-name>RichFaces Filter</display-name>

   <filter-name>richfaces</filter-name>

   <filter-class>org.ajax4jsf.Filter</filter-class>

</filter>

<filter-mapping>

   <filter-name>richfaces</filter-name>

   <servlet-name>Faces Servlet</servlet-name>

   <dispatcher>REQUEST</dispatcher>

   <dispatcher>FORWARD</dispatcher>

   <dispatcher>INCLUDE</dispatcher>

</filter-mapping>

 

<!-- ############## ##################### -->

 

 

 

  <filter>

    <filter-name>charEncodingFilter</filter-name>

    <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>

    <init-param>

      <param-name>encoding</param-name>

      <param-value>UTF-8</param-value>

    </init-param>

    <init-param>

      <param-name>forceEncoding</param-name>

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

    </init-param>

  </filter>

 

 

  <filter-mapping>

    <filter-name>charEncodingFilter</filter-name>

    <url-pattern>/*</url-pattern>

  </filter-mapping>

  <listener>

    <listener-class>com.sun.faces.config.ConfigureListener</listener-class>

  </listener>

  <listener>

    <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>

  </listener>

  <servlet>

    <servlet-name>Resources Servlet</servlet-name>

    <servlet-class>org.springframework.js.resource.ResourceServlet</servlet-class>

    <load-on-startup>0</load-on-startup>

  </servlet>

  <servlet>

    <servlet-name>Spring MVC Dispatcher Servlet</servlet-name>

    <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>

    <init-param>

      <param-name>contextConfigLocation</param-name>

      <param-value></param-value>

    </init-param>

    <load-on-startup>2</load-on-startup>

  </servlet>

  <servlet>

    <servlet-name>Faces Servlet</servlet-name>

    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>

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

  </servlet>

 

  <servlet-mapping>

    <servlet-name>Resources Servlet</servlet-name>

    <url-pattern>/resources/*</url-pattern>

  </servlet-mapping>

  <servlet-mapping>

    <servlet-name>Spring MVC Dispatcher Servlet</servlet-name>

    <url-pattern>/spring/*</url-pattern>

  </servlet-mapping>

  <servlet-mapping>

    <servlet-name>Faces Servlet</servlet-name>

    <url-pattern>*.jsf</url-pattern>

  </servlet-mapping>

 

 

 

  <welcome-file-list>

    <welcome-file>index.html</welcome-file>

  </welcome-file-list>

 

##########################

 

 

my faces-config.xml is

 

 

######################

<application>

     <locale-config>

     <default-locale>it_IT</default-locale>

     <supported-locale>it_IT</supported-locale>

     </locale-config>

     <message-bundle>it.sisal.veniero.messages.message</message-bundle>

        </application>

######################

 

Do you know how to solve this?

Thank you