4 Replies Latest reply on May 14, 2008 9:18 AM by Tsikhon Kuprevich

    richface datascroll does'nt work

    betul aydin Newbie

      Hi
      When I use richfaces 3.1.1 the datascroll works.But with richfaces 3.2.2 sp1
      the datascroll isnt working.Does anybody know what is problem.
      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>

      and here is my 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>
      Page show the datatable and datascroll bur when ı click the datascroll it does'nt work