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

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 3.5-milestone-1
    • 3.4
    • Display, Old Core
    • None
    • Medium

    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

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

              Dates

                Created:
                Updated:
                Resolved: