Changes for page Writing XWiki Rendering Macros in wiki pages
Last modified by Vincent Massol on 2023/04/06
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -148,7 +148,7 @@ 148 148 149 149 = Bindings = 150 150 151 -The usual XWiki [[scripting context bindings>>doc:extensions:Extension.Script Macro||anchor=" #HBindings"]] are available in the scripts of the wiki macros, with the mention that contextual variables (such as ##$doc##) will point to the XWiki document (page) in which the macro is called, not to the XWiki document containing the objects that define the macro. This makes it easy to write features that are contextualized to the page where they're called.151 +The usual XWiki [[scripting context bindings>>doc:extensions:Extension.Script Macro||anchor="HBindings"]] are available in the scripts of the wiki macros, with the mention that contextual variables (such as ##$doc##) will point to the XWiki document (page) in which the macro is called, not to the XWiki document containing the objects that define the macro. This makes it easy to write features that are contextualized to the page where they're called. 152 152 153 153 Then, specific bindings for the wiki macro context are available, see [[the reference documentation page>>doc:extensions:Extension.WikiMacroStore.WebHome||anchor="HBindings"]]. 154 154