1 Reply Latest reply on Aug 11, 2008 4:31 AM by Ilya Shaikovsky

    Problem with Rich Data scroller

    Manas Behera Newbie

      Hi Friends,

      I have encounter a problem with rich data scroller.

      The code:

      <rich:datascroller id="contentViewScroller" for="contentView" maxPages="#{categoryFormBean.noOfPage}" page="#{categoryFormBean.pageIndex}"/>

      <rich:dataTable id="contentView"
      columnClasses="col1,col2,col3,col4,col5,col6,col7" var="item"
      rows="10" width="100%" >

      Here i have used a rich data scroller for a rich data table with id contentView.

      when ever Rich data table is udpating with a new Data model, Rich Data scroller is not updating it's no of page. It's taking the no of of pages from the last Data model.

      But when ever i m clicking second time, it's showing correct no of pages.

      Can any one please help on this.

      Thanks in Advance.