Changes for page Release Notes for XWiki 6.0
Last modified by Thomas Mortagne on 2017/03/24
From version 19.1
edited by Denis Gervalle
on 2014/05/20
on 2014/05/20
Change comment:
There is no comment for this version
To version 19.2
edited by Vincent Massol
on 2014/05/20
on 2014/05/20
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. dgervalle1 +XWiki.VincentMassol - Content
-
... ... @@ -138,6 +138,8 @@ 138 138 139 139 == New Rendering Context == 140 140 141 +{{info}}See the [[Rendering Architecture>>rendering:Main.Architecture]] for more details.{{/info}} 142 + 141 141 It's now possible to access the context of the rendering in progress from any components. The information initially provided by the ##org.xwiki.rendering.transformation.TransformationContext## and ##org.xwiki.rendering.transformation.MacroTransformationContext## (by arguments only to transformations and macro) are now available to any component using the ##org.xwiki.rendering.transformation.RenderingContext## role. 142 142 143 143 For this context to be properly actuated, any process that initiate a transformation without using the default implementation of ##org.xwiki.rendering.transformation.TransformationManager## role (or implement it) should take care of it. At the moment, there is no public API for this (internally we use org.xwiki.rendering.internal.transformation.MutableRenderingContext for this purpose), so it is highly recommended to use the transformation manager when possible.