Wiki source code of TestMacroSyntax10UsedFrom10b

Version 7.1 by Ludovic Dubost on 2009/04/30 10:43

Show last authors
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.
4 {{velocity}}
5 #set($ok = $xwiki.includeForm("Test.TestMacroSyntax10b", false))
6 #includeMacros("Test.TestMacroSyntax10b")
7 #mymacroinsyntax10bdoc("World")
8 {{/velocity}}