Wiki source code of TestMacroSyntax10UsedFrom10b

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

Hide last authors
Ludovic Dubost 7.1 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.
Ludovic Dubost 1.1 4 {{velocity}}
Ludovic Dubost 8.1 5 ## this is the same as #includeMacros("Test.TestMacroSyntax10b") but catching the resulting content
Ludovic Dubost 6.1 6 #set($ok = $xwiki.includeForm("Test.TestMacroSyntax10b", false))
Ludovic Dubost 5.1 7 #mymacroinsyntax10bdoc("World")
Ludovic Dubost 1.1 8 {{/velocity}}