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

DocumentTree's 'openTo' parameters not working in conjunction with 'root' parameter

    XMLWordPrintable

Details

    • High
    • Easy
    • N/A
    • N/A

    Description

      I've tried:

      {{documentTree showTranslations="false" showAttachments="false" showChildDocuments="true" openTo="document:$doc.documentReference" root="document:Main.WebHome" /}}
      

      and

      {{documentTree root="document:Main.WebHome" showTranslations="false" showAttachments="false" openTo="document:$openToDoc" /}}
      

      Select from the Panel, 'Sandbox.TestPage2' page.

      When using root, the nodes are not get expanded anymore and the item is not highlighted, see bug.png vs. expected.png

      Attachments

        1. bug.png
          bug.png
          37 kB
        2. expected.png
          expected.png
          58 kB
        3. firstLevel.png
          firstLevel.png
          44 kB

        Activity

          People

            mflorea Marius Dumitru Florea
            evalica Ecaterina Moraru (Valica)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: