Last modified by Ludovic Dubost on 2009/04/30 10:44

From version 6.1
edited by Ludovic Dubost
on 2009/04/30 10:36
Change comment: There is no comment for this version
To version 7.1
edited by Ludovic Dubost
on 2009/04/30 10:43
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,4 +1,8 @@
1 += Method 2 uses an modified includeMacros catching the resulting content
2 +
3 +Unfortunately this method does not work. It catches the content well but the macro is not available in the context.
1 1  {{velocity}}
2 2  #set($ok = $xwiki.includeForm("Test.TestMacroSyntax10b", false))
6 +#includeMacros("Test.TestMacroSyntax10b")
3 3  #mymacroinsyntax10bdoc("World")
4 4  {{/velocity}}