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

Sheets need to be able to display the title of the document they are applied to

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.4
    • Fix Version/s: 3.5-milestone-1
    • Component/s: Display, Old Core
    • Labels:
      None
    • Difficulty:
      Medium
    • Similar issues:

      Description

      Document sheets control both how the content and the title of documents are displayed. If you want to include the content of the displayed document in the sheet you can use the include macro, like this:

      before
      
      {{include document="$doc.fullName"/}}
      
      after
      

      We need to be able to do the same with the document title. Right now, if you try to use $doc.getRenderedTitle() in a sheet you get infinite recursion because the same sheet will be applied over and over.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: