ICEfaces
  1. ICEfaces
  2. ICE-1545

A paginated dataTable does not properly update its content upon changes of the rows attribute

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.3, 1.7.2
    • Fix Version/s: 1.8RC1, 1.8
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      Tomcat 5.5
      Java 1.4.2
      Jboss 4.2.0

      Description

      When dynamically changing the rows attribute of the dataTable component (e.g. through a listbox to select the number of hits per page), the dataPaginator updates correctly, but the dataTable does not.
      Scenario:

      - the user paged to the end of a list of 199 items
      - the number of hits per page is changed from (say) 10 to 100
      - now, instead of displaying 99 items (the first 100 on the first page, 99 on the current page), the table only displays 9 items.

      Not a big deal, but certainly not correct, or at least counter-intuitive.
      1. SC5235.doc
        106 kB
        Tyler Johnson
      1. ICE-1545.jpg
        53 kB

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #20927 Wed Mar 10 22:46:55 MST 2010 adnan.durrani Fix for ICE-5383 (Regression: ICE-1545 - Row number toggling does not work if at the last page of table)
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/datapaginator/DataPaginator.java
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/panelseries/UISeries.java
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/datapaginator/DataPaginatorRenderer.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #18289 Wed Feb 04 12:05:24 MST 2009 adnan.durrani The first being set to 0 regard less of rows set by the UICommand or UIInput.
        related to ICE-1545 (A paginated dataTable does not properly update its content upon changes of the rows attribute)
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/ext/HtmlDataTable.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #18123 Wed Dec 31 05:25:21 MST 2008 adnan.durrani ICE-1545 (A paginated dataTable does not properly update its content upon changes of the rows attribute )
        The change has been made so the "rows" attribute is changed dynamically, will automagically reset the first attribute to 0.
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/ext/HtmlDataTable.java

          People

          • Assignee:
            Unassigned
            Reporter:
            Karl Arsch
          • Votes:
            7 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: