2 Replies Latest reply on Jan 7, 2008 10:50 AM by Felix Khazin

    Difficulty with rich:datascroller

    Felix Khazin Newbie


      I can't seem to figure out how to get the rich:datascroller to work.

      Here is what I have:

      <rich:datascroller align="left" for="customerList" rendered="#{not empty customerList.customerListByReseller}"/>
      <rich:dataTable id="customerList" var="customer" value="#{customerList.customerListByReseller}" rendered="#{not empty customerList.customerListByReseller}" rows="2">
      ... columns

      My bean:
      public class CustomerListAction implements CustomerList
       private Reseller selectedReseller;
       private List<Customer> customerListByReseller;
      ...code that will fill in the "customerListByReseller Property.

      Am I missing anything? What happens is I see 2 rows, and when I click on the next page I can see a request go through and hibernate will query my database, but it won't redraw with new rows.

      What else do I need to make this work?