RichFaces DataScroller Issue
hithendra Jun 16, 2011 7:32 PMHi 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"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich"
xmlns:fn="http://java.sun.com/jsp/jstl/functions">
<rich:dataTable id="carList" rows="7"
value="#{test.historyAnalyticsList}" var="category">
<f:facet name="header">
<rich:columnGroup>
<h:column>
<h:outputText value="Run ID" />
</h:column>
<h:column>
<h:outputText value="Status" />
</h:column>
<h:column>
<h:outputText value="Start Time" />
</h:column>
</rich:columnGroup>
</f:facet>
<h:column>
<h:outputText value="#{category.runID}" />
</h:column>
<h:column>
<h:outputText value="#{category.status}" />
</h:column>
<h:column>
<h:outputText value="#{category.startTimeStamp}" />
</h:column>
</rich:dataTable>
<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