11 Replies Latest reply on Mar 24, 2013 12:26 AM by maran_su

    Richfaces 4.2.2 components not rendering.

    sincanvin

      Hi,

       

        I am using JSF 2.0. Richfaces 4.2.2 in Eclipse env. with the following jars. I am not able to render any Rich faces components

       

      cssparser-0.9.5.jar

      guava-r09.jar

      javax.faces-2.1.16.jar

      jsf-facelets.jar

      richfaces-components-api-4.2.2.Final.jar

      richfaces-components-ui-4.2.2.Final.jar

      richfaces-core-api-4.2.2.Final.jar

      richfaces-core-impl-4.2.2.Final.jar

      sac-1.3.jar

       

      web.xml 

       

      <?xml version="1.0" encoding="UTF-8"?>

      <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">

        <display-name>Sample</display-name>

       

          <context-param>

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

             <param-value>Development</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>org.richfaces.skin</param-name>

            <param-value>classic</param-value>

          </context-param>

          <context-param>

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

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

          </context-param>

       

       

        <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>Faces Servlet</servlet-name>

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

        </servlet-mapping>

        <servlet-mapping>

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

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

        </servlet-mapping>  

      </web-app>

       

      faces-config.xml

       

      <?xml version="1.0" encoding="UTF-8"?>

      <faces-config
          xmlns="http://java.sun.com/xml/ns/javaee"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd"
          version="2.0">
      <application>
              <view-handler>com.sun.facelets.FaceletViewHandler</view-handler>
      </application>

      </faces-config>

       

       

      Can you pl. tell me the cause of this issue? Do I need to include any other jar.

       

      Thanks,