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

    Difficulty with rich:datascroller

    felixk2

      Hi,

      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
      </rich:dataTable>


      My bean:
      @Stateful
      @Name("customerList")
      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?

      Thanks,
      Felix