1 Reply Latest reply on Jul 6, 2007 6:40 AM by ilya_shaikovsky

    Problem in rich:datascroller, AJAX Functionality is not work

    sohailkhalid

      I am using RichFaces and i have problem in datascroller, It is displaying all data with table and showing paging with scroller but , scroller is not working.
      My Code is:
      <rich:spacer height="30" />
      <rich:dataTable width="483" id="carData" rows="3" columnClasses="col"
      value="#{ticketBean.names}" var="category">
      <f:facet name="header">
      <rich:columnGroup>
      <h:column>
      <h:outputText styleClass="headerText" value="Make" />
      </h:column>
      <h:column>
      <h:outputText styleClass="headerText" value="Model" />
      </h:column>
      <h:column>
      <h:outputText styleClass="headerText" value="Price" />
      </h:column>
      <h:column>
      <h:outputText styleClass="headerText" value="Mileage" />
      </h:column>
      </rich:columnGroup>
      </f:facet>

      <h:column>
      <h:outputText value="#{category.make}" />
      </h:column>
      <h:column>
      <h:outputText value="#{category.model}" />
      </h:column>
      <h:column>
      <h:outputText value="#{category.price}" />
      </h:column>
      <h:column>
      <h:outputText value="#{category.mileage}" />
      </h:column>
      </rich:dataTable>
      <rich:datascroller for="carData" maxPages="20" />

      Is there any extra configuration to enable AJAX feature
      I have added, <%@ taglib uri="http://richfaces.ajax4jsf.org/rich" prefix="rich"%> in JSP.
      Please solve this problem