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

Multiple rm commands sent on model clear event using ArrayList model

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 8.0.4
    • 8.0.3
    • None
    • Security Level: Jimmy
    • None
    • ZK 8.0.4 S1
    • None

      Steps to Reproduce

      http://zkfiddle.org/sample/k29vpf/3-multiple-RM-when-clearing-model
      run fiddle.
      Select hold 500 items.
      Click button to clear the model.

      Actual Result

      Model is cleared, 500 "rm" commands are sent to the client.

      Expected Result

      Model is cleared, a single clear model command could be sent instead.

      Workaround

      Use ListModelList instead of ArrayList as model

            DevChu DevChu
            MDuchemin MDuchemin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day
                1d