Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-3309

unable to add nodes to an empty rootless Tree (e.g. LinkTree)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.13, 1.4.14, 1.4.15
    • 1.4.16, 1.5-RC1
    • wicket
    • None

    Description

      2 scenarios which adding new nodes (via ajax) to a rootless Tree is not working as expected.
      the node is getting added to the treemodel but non is displayed.

      1) adding a node to the rootnode. the newly added node is not displayed.
      2) the rootless tree already has a node. if you add additional nodes to the root node, they will be displayed (compare to 1), if you add an additional node to one of the added nodes, the complete tree will disappear.

      see attached quickstart

      Attachments

        1. quickstart.tar.gz
          5 kB
          Gabriel Bucher
        2. WICKET-3309.patch
          1 kB
          Pedro Santos

        Activity

          People

            pedrosans Pedro Santos
            gabriel.bucher Gabriel Bucher
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: