Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-18920

Tree Macro: "openTo" not working on child nodes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 13.6
    • Tree
    • None
    • xWiki 13.6
    • Unknown

    Description

      Hello,
      I would like to mark an item in the list with the parameter "openTo", but this only works in the top hierarchy (e.g. tomato) and not in the deep level hierarchies (e.g. baked beans).

       

      I hope it can be solved.  

      {{tree openTo='j1_1_anchor'}}
      * Food
      ** Tomato
      ** Corn
      ** Baked beans
      *** Beans
      *** Onions
      *** Ketchup
      * Vehicles
      ** Car
      ** Bus
      {{/tree}}
      

       


      openTo='j1_1_anchor' does work

       

       


      openTo='j1_2_anchor' does not work

       

       

       

      Further information:
      • XWiki Version: 13.6
      • The ID's are automatically created by the Tree Macro
      • openTo parameter:
        "The id of the node to open the tree to. All the ancestors of the specified node, up to the root of the tree, will be opened also."

      Attachments

        Activity

          People

            Unassigned Unassigned
            Nioo Nio
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: