ICEfaces
  1. ICEfaces
  2. ICE-5252

dataPaginator 'firstRowIndexVar' and 'lastRowIndexVer' are set incorrectly when dyanmically changing the rows value for the dataTable

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.2-EE-GA
    • Fix Version/s: 1.8.2-EE-GA_P01, 1.8.3
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      All
    • Assignee Priority:
      P2

      Description

      A drop down menu has been implemented to change the visible rows in the dataTable. If the backing table model has 20 entries and the rows is set to 5 by default the 'firstRowIndexVar' and the 'lastRowIndexVar' is displayed as "...from 1 to 5.". If for example the page is changed to page three it shows "...from 11 to 15.". Now if the rows value is changed to show 10 rows, the 'firstRowIndexVar' and the 'lastRowIndexVar' values now show "...from 1 to 10." even though it is on page two and therefore should show "...from 11 to 20.". Moving to the first page and then back sets the value to its proper values.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #20462 Tue Feb 02 14:55:20 MST 2010 adnan.durrani Fix for ICE-5252 (dataPaginator 'firstRowIndexVar' and 'lastRowIndexVer' are set incorrectly when dyanmically changing the rows value for the dataTable.)
        firstRowIndexVar, lastRowIndexVar and displayedRowsCountVar has been fixed for displaying all records.
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/datapaginator/DataPaginatorRenderer.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #20460 Tue Feb 02 14:20:59 MST 2010 adnan.durrani Fix for ICE-5252 (dataPaginator 'firstRowIndexVar' and 'lastRowIndexVer' are set incorrectly when dyanmically changing the rows value for the dataTable.)
        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/ext/HtmlDataTable.java

          People

          • Assignee:
            Joanne Bai
            Reporter:
            Arran Mccullough
          • Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: