Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-259

datatable, datascroller problem with mbean in session scope

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.0.9m9
    • None
    • None
    • None

    Description

      I have a MBean in session scope, which holds the data for the datatable.

      The scroller for the table works fine, when I use it once or the rowCount of data never changes. But I get in trouble when I change the page of the scroller and change the rowCount.

      Example:

      1. datatable has 100 rows, scroller shows 10 rows
      2. I jump to page 5
      ... everything is fine

      After this the data changes ... the datatable has now 5 rows

      And now the problem comes out: The pageIndex of the scrollerComponent is still on page 5 ... and ... there is no data. When I jump to page 1 manually (by rewind-button) the data shows up on the first page.

      I tried all the examples with this combination and got allways the same situation. So, I think it could be a bug ...

      Attachments

        1. dataScroller.jsp
          5 kB
          Stephan
        2. DatatableTestBean.java
          1 kB
          Stephan
        3. HitBean_snippet.java
          3 kB
          Stephan
        4. hitlist_snippet.jsf
          4 kB
          Stephan
        5. output.txt
          1 kB
          Stephan

        Activity

          People

            mbroekelmann Mathias Broekelmann
            xx02107 Stephan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: