1 Reply Latest reply on Oct 16, 2008 11:34 AM by jbalunas

    rich:datascroller - pageIndex issue - why?

    larry1976

      My JSF web application throw this kind of Exception, every single time i see a page with a rich:datascroller:

      org.apache.myfaces.util.DebugUtils javax.faces.FacesException: Could not get property pageIndex of component.....

      TAGLIBS:
      <%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
      <%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
      <%@taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
      <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
      <%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
      <%@ taglib uri="http://sourceforge.net/projects/jsf-comp/clientvalidators" prefix="cv"%>
      <%@ taglib uri="http://javascript4jsf.dev.java.net/" prefix="j4j" %>

      RICH:DATASCROLLER (linked to a rich:datatable):
      <rich:datascroller stepControls="auto" boundaryControls="auto" pagesVar="pages" pageIndexVar="pageIndex" fastControls="auto" id="myScroller" align="center" for="datalist" maxPages="20">


      MY LIBS:
      tomahawk-1.1.6.jar
      myfaces-impl-1.2.3.jar
      myface-api-1.2.3.jar
      commons-lang-2.1.jar
      jstl-1.1.0.jar
      commons-el-1.0.jar
      commons-collections-3.2.jar
      commons-beanutils-1.7.0.jar
      commons-codec-1.3.jar
      commons-digester-1.8.jar
      commons-discovery-0-4.jar
      commons-logging-1.1.1.jar
      standard.jar
      commons-collections-2.1.1.jar
      commons-dbcp-1.2.2.jar
      commons-fileupload-1.2.jar
      commons-httpclient.jar
      commons-io-1.4.jar
      commons-loggin-1.0.4.jar
      commons-pool-1.4.jar
      spring.jar
      richfaces-api.3.2.1.GA.jar
      richfaces-impl-3.2.1.GA.jar
      richfaces-ui-3.2.1.GA.jar


      Someone have an idea ?!?

      thanks
      L.