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

Add parameter to display in a livetable only the children of a root

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 9.8.1
    • Fix Version/s: None
    • Component/s: LiveTable
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      Currently, the only parameter of the livetable configuration that could serve this purpose is "location" or "space".
      "Space" is deprecated and does not work with nested pages, while "location" matches the whole document reference, not its parent.

      E.g. for a page called "Bond" (Bond.WebHome), if I would want to display in a livetable all the pages from the subtree of this page, I would need to pass "Bond." as the location . Thus, a page called "James Bond" and all the pages that are descendants of "James Bond" will also appear in the livetable for page "Bond" and there is no way to stop this from happening (assume Bond is a level 1 page and I cannot prefix it to make it more precise).

      There should be a parameter that is equivalent to what "space" used to do (precise location identification) , or equivalent to the "childrenOf" parameter of the "Child pages" livetable.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              lucaa Anca Luca
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Date of First Response: