Beehive
  1. Beehive
  2. BEEHIVE-505

Multiple netui:trees in a single jsp duplicate expandOnServer child nodes

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: V1Beta
    • Fix Version/s: v1m1
    • Component/s: NetUI
    • Labels:
      None

      Description

      If a jsp has multiple trees where runAtClient="true" and expandOnServer="true" for a treeItem, when the expandOnServer treeItem is expanded, its treeItem child is displayed in both trees.

      ExpectedResult: Only the tree that was chosen to be expanded should be expanded

      ActualResult: The treeItem child is displayed on both trees.

        Activity

        Hide
        Krista Baker added a comment -

        Verfied that the expanded tree's child is now only displayed on the expected tree instead of both trees.

        Show
        Krista Baker added a comment - Verfied that the expanded tree's child is now only displayed on the expected tree instead of both trees.
        Hide
        Daryl Olander added a comment -

        The issue here was that when we sent back the newly created children we were pasting them into all of the trees on the page. The issue was that we need to track which tree on the page is actually being expanded. It was a simple update to the Javascript.

        BVT coreweb/bugs/j505

        Show
        Daryl Olander added a comment - The issue here was that when we sent back the newly created children we were pasting them into all of the trees on the page. The issue was that we need to track which tree on the page is actually being expanded. It was a simple update to the Javascript. BVT coreweb/bugs/j505

          People

          • Assignee:
            Krista Baker
            Reporter:
            Krista Baker
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development