Uploaded image for project: '{RETIRED} XWiki Enterprise'
  1. {RETIRED} XWiki Enterprise
  2. XE-977

Add the possibility of listing the children of a document in a livetable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: 3.2 M1
    • Component/s: None
    • Labels:
      None
    • keywords:
      livetable
    • Similar issues:

      Description

      I did this for one of the client projects.

      The solution is to use this piece of code in XWiki/LiveTableResults:

      #if("$!request.parent" != '')
      #set($extra = "${extra} and doc.parent = '${request.parent}'")
      #end

      and then pass "&parent=spaceName.docName" to the extraParams parameter of the livetable $options hash

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sdumitriu Sergiu Dumitriu
                Reporter:
                mihaipaun Mihai Paun
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: