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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 8.0.1.1
    • Fix Version/s: 8.0.2
    • Component/s: None
    • Security Level: Jimmy
    • Labels:
      None
    • gh.sprint.customfield.default.name:
      ZK 8.0.2 S2

      Description

      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

        Attachments

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

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

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