3 Replies Latest reply on Jun 1, 2009 6:18 AM by ilya_shaikovsky

    Problem with dataTable scroller

      Hi
      i m a new user of Richfaces, i have got a problem about dataTable scroller. the Problem is as follows:
      managed-bean-scope: request
      i use rich:datascroller, but it can't get to the page 2.
      i have to change the scope to session, it works well.

      can i use the request scope and also scroller the table?

        • 1. Re: Problem with dataTable scroller
          nbelaevski

          Hi,

          Yes, you can. Just make sure that data model returns proper rows count on subsequent request (see livedemo examples -data model using data provider for more info).

          • 2. Re: Problem with dataTable scroller

            Hallo, Nik!
            I have absolutely same problem. I've create extending ExtendedDataModel class, implement all abstract methods and it works fine for me for first load, but when I try to go to second page, no one action for datascroller fires and I don't know how I should load secobd part of data.
            I'm newbee with JSF and Richfaces, so could you please give a link where I can dowload any examples how to work with datatable and datascroller in such cases?

            • 3. Re: Problem with dataTable scroller
              ilya_shaikovsky

              Visit the link in my signature. There you could find the link to richfaces-demo sources. Download and explore table models samples.