Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-3173

listmodel.clear() does not reset listmodel.getActivePage()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 8.0.2
    • 8.0.1.1
    • None
    • Security Level: Jimmy
    • None
    • ZK 8.0.2 S2
    • None

      listmodel.clear() does not reset listmodel.getActivePage() (but reset page count)

      reproduced with the attached example,
      Click fill to add data to the model,
      select another page (page 3) using the pagination controls,
      Click clear.
      In the console, current active page: 2, current page count:1;
      ACTIVE PAGE - PAGE COUNT AFTER CLEAR : 2 - 1

        1. paging.zul
          0.7 kB
          MDuchemin
        2. PagingVM.java
          1 kB
          MDuchemin

            christopherszu christopherszu
            MDuchemin MDuchemin
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 5 hours
                5h