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

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Trivial
    • 3.2 M1
    • 3.0
    • None
    • None
    • livetable

    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

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

              Dates

                Created:
                Updated:
                Resolved: