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

Add a 'showRoot' parameter to the tree widget to display the current root

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.2-milestone-3
    • Fix Version/s: 7.2-rc-1
    • Component/s: Index, Tree
    • Labels:
    • Difficulty:
      Easy
    • Similar issues:

      Description

      Currently, we have a root parameter that specified what is the root of the tree, but the root itself is not displayed in the tree by default and only top level node are displayed.

      It would be very useful to be able to also display the currently specified root since, in some applications, it might be a requirement to be able to select the root itself as target for a particular operation.

      This showRoot (or whatever we want to call it) option should probably also be made available in the macros (tree macro, document tree macro) that use the tree widget.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mflorea Marius Dumitru Florea
                Reporter:
                enygma Eduard Moraru
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 1 day
                  1d