1 Reply Latest reply on May 15, 2008 8:01 AM by Ilya Shaikovsky

    richfaces 3.2.2 integration problem

    betul aydin Newbie

      hi I develop application on myeclipse+IBM Websphere+richfaces3.1.1

      With richfaces 3.1.1 everything is good.But when I use 3.2.2 the database scroller does'nt work.here is my web.xml:

      <?xml version="1.0" encoding="UTF-8"?>
      <web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.5" 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.CONFIG_FILES</param-name>
      <param-value>/WEB-INF/faces-config.xml</param-value>
      </context-param>
      <context-param>
      <param-name>org.richfaces.SKIN</param-name>
      <param-value>blueSky</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>


      <display-name>RichFaces Filter</display-name>
      <filter-name>richfaces</filter-name>
      <filter-class>org.ajax4jsf.Filter</filter-class>

      <filter-mapping>
      <filter-name>richfaces</filter-name>
      <servlet-name>Faces Servlet</servlet-name>
      REQUEST
      FORWARD
      INCLUDE
      </filter-mapping>

      <servlet-name>Faces Servlet</servlet-name>
      <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
      <load-on-startup>1</load-on-startup>


      <servlet-name>Faces Servlet_tmp</servlet-name>
      <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
      <load-on-startup>0</load-on-startup>

      <servlet-mapping>
      <servlet-name>Faces Servlet</servlet-name>
      <url-pattern>*.faces</url-pattern>
      </servlet-mapping>
      <welcome-file-list>
      <welcome-file>index.jsp</welcome-file>
      </welcome-file-list>
      </web-app>

      here is my jsp tag:
      <h:form id="form">

      <h:dataTable border="1" value="#{Den.model}" var="satir" rows="3" id="tab">

      <h:column id="column1">
      <f:facet name="header">
      <h:outputText value="column1"></h:outputText>
      </f:facet>
      <h:outputText value="#{satir.ad}"></h:outputText>
      </h:column>
      <h:column id="column2">
      <f:facet name="header">
      <h:outputText value="column2"></h:outputText>
      </f:facet>
      <h:outputText value="#{satir.soyad}"></h:outputText>
      </h:column>
      <f:facet name="header">
      <rich:datascroller for="tab" renderIfSinglePage="true" pagesVar="5"></rich:datascroller>
      </f:facet>

      </h:dataTable>
      how can I use datascroller at the richfaces 3.2.2 sr1 the datatable and datascroller was shown but when I click the datascroll it doesnt work.