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

Listbox allows selection with checkable="false"

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 7.0.3
    • Fix Version/s: 8.0.0
    • Component/s: ZK Client Engine
    • Security Level: Jean
    • Labels:
    • Environment:

      All browsers, Tomcat 7

    • gh.sprint.customfield.default.name:
      ZK 8.0.1

      Description

      Steps to Reproduce : Case 1

      Demo here:
      http://zkfiddle.org/sample/3c3tr14/1-listbox-selectall-checkable-false

      By ticking the checkbox in the listbox header, all list items are selected, even those with checkable="false".


      Steps to Reproduce : Case 2

      1. run listbox-checkmark.zul
      2. click listhead to select all
      3. scroll down to last item

      Actual Result

      Some items without checkmark are selected.

      Expected

      only items with checkmark are selected.

      Debug Information

      Those items are not fully rendered because of CE ROD, so their isCheckable() returns true before we scroll to render them.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jumperchen jumperchen
                Reporter:
                CJahn CJahn
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 days, 4 hours
                  2d 4h