0 Replies Latest reply on Aug 6, 2012 11:00 AM by smoking81

    RichFaces 4 and rich:dataScroller: simulate RF3's “pages” facet behavior

    smoking81 Newbie

      Hello everybody!
      In RF 3 it was possible to use a "pages" facet within a rich:dataScroller to access information as "total number of pages":

          <rich:datascroller pageIndexVar="pageIndex" pagesVar="pages"> <f:facet name="pages"> <h:outputText value="Page #{pageIndex} of #{pages}" /> </f:facet> </rich:datascroller> 

      This facet has not been implemented in RF 4 (see here). Is there a way to easily (i.e. without writing java code in the backing bean) access the number of pages with RF 4?


      Thanks a lot for your help!