Uploaded image for project: 'XWiki Rendering'
  1. XWiki Rendering
  2. XRENDERING-803

Add support for overwriting the list of transformations to execute from the transformation context

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Unresolved
    • Major
    • 18.1.0-rc-1
    • 18.0.1
    • Transformation
    • None
    • Unknown

    Description

      The list of rendering transformations to execute is controlled by the rendering configuration. On XWiki side this list can be overwritten per HTTP request using a dedicated parameter. It would be nice to be able to overwrite this list for a particular execution, from the transformation context. We would have this fallback chain:

      execution (transformation context) -> request (parameter) -> rendering configuration

      I propose we add:

      • TransformationContext#setTransformationNames(List<String>)
      • TransformationContext#getTransformationNames()

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: