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

Ability to resolve the Include Macro reference parameter against a base reference when no BASE metadata is present in the XDOM

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 14.3-rc-1
    • 5.0-milestone-1
    • Rendering
    • None
    • Unknown
    • N/A
    • N/A

    Description

      Example usage:

      resolver.resolve("reference", EntityType.DOCUMENT, macroBlock, baseReference)
      

      If macroBlock doesn't contain any BASE MetaData, then the passed baseReference is used to resolve the "reference".

      Attachments

        Issue Links

          Activity

            People

              vmassol Vincent Massol
              vmassol Vincent Massol
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: