4 Replies Latest reply on Jun 17, 2011 7:11 PM by Hithendra Pothu

    RichFaces DataScroller Issue

    Hithendra Pothu Newbie

      Hi Guys


      I am a newbie to richfaces. We have large amount of data in grids which need to be paginated. So i have used Rich Datatable along with rich data scroller in my page.


      But i am getting an error saying rich:datascroller tag is not avaliable. . Below is my code

      <ui:composition xmlns="http://www.w3.org/1999/xhtml"









      <rich:dataTable id="carList" rows="7"

                                              value="#{test.historyAnalyticsList}" var="category">


                                               <f:facet name="header">



                                                                              <h:outputText value="Run ID" />



                                                                              <h:outputText value="Status" />



                                                                              <h:outputText value="Start Time" />





                                                          <h:outputText value="#{category.runID}" />



                                                          <h:outputText value="#{category.status}" />






                                                        <h:outputText value="#{category.startTimeStamp}" />








                                    <rich:datascroller id="sc2" for="carList" reRender="sc1" maxPages="7"

                                              page="#{test.scrollerPage}" />


      But if i change the rich:datascroller to datascroller i am able to see the data but no pagination scroller at the end.

      Can you please let me know whats wrong with my code. I am using Glassfish 3.0 with Richfaces 4.0