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

setting an ID on treeItem cause duplication issue with paging mold

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 8.0.1
    • 7.0.6.1
    • Components
    • Security Level: Jimmy
    • None
    • ZK 8.0.1

      conditions :
      > using a treeModel
      >assigning ID to the <treeItem>
      >using the paging tree mold

      When a node is re-rendered (after beeing closed, or after beeing brought back in the view from another page), a duplicate ID error occurs.

      actions triggering the error :
      >closing an open node
      >rendering a node (by accessing it's page), accessing another page, then accessing the original page again.

      see attached example

        1. CustNodeData.java
          0.3 kB
        2. tree.zul
          0.4 kB
        3. TreeViewModel.java
          1 kB

            wenninghsu wenninghsu
            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:
                Time Spent - 2 days Remaining Estimate - 30 minutes
                30m
                Logged:
                Time Spent - 2 days Remaining Estimate - 30 minutes
                2d