0 Replies Latest reply on Apr 12, 2011 6:09 AM by nitishsinha

    weblogic portal and richfaces

    nitishsinha

      Hi,

      I am new to Weblogic Portal and RichFaces.

      I am using Richfaces in the JSP for pagenation and sorting.When i run the portal I get the Sorting,pagenation  icon,but they don't work( like disable).

      When i execute the same JSP by providing the path (i.e http://localhost:7001/RichFace2/sorting/Sorting.faces#) it executes perfectly.

      As per my understanding some thing is missing in the web.xml file.Following is the web.xml file.

      Can any one guide me on this,what is the issue.

       

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

      <web-app version="2.5" 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-app_2_5.xsd">

         <context-param>

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

              <param-value>Development</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>*.faces</url-pattern>

          </servlet-mapping>

          <session-config>

              <session-timeout>

                  30

              </session-timeout>

          </session-config>

          <welcome-file-list>

              <welcome-file>faces/welcomeJSF.jsp</welcome-file>

          </welcome-file-list>

          <!-- Plugging the "Blue Sky" skin into the project -->

       

      <context-param>

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

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

      </context-param>

      <!-- Making the RichFaces skin spread to standard HTML controls -->

      <context-param>

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

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

      </context-param>

      <!-- Defining and mapping the RichFaces filter -->

      <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>

      </web-app>

       

      Thanks