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

TreeModel selection size is incorrect when tree node is not rendered yet

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Normal
    • 7.0.6
    • 6.5.7, 7.0.5
    • Components
    • Security Level: Jimmy
    • None
    • ZK 7.0.7

    Description

      Reproducible sample on zkfiddle: http://zkfiddle.org/sample/353rb3u/3-ZK-Tree-selection-problem

      Debug Information:
      In Tree.java line 2541 will clear all selection when curSeldItems size equals 1, which is not correct. It should consider if all the children nodes of treeitem are not in selected status.

      Attachments

        Issue Links

          Activity

            People

              jumperchen jumperchen
              vincentjian vincentjian
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 2 hours
                  2h