Wiki source code of TestMacroSyntax10UsedFrom20

Last modified by Vincent Massol on 2009/04/30 10:58

Show last authors
1 = Method 1 uses an XWiki syntax 2.0 include
2
3 {{include document="Test.TestMacroSyntax10" context="current"/}}
4 {{velocity}}
5 This works but the include up there will include the content of the macro file so generate a lot of white spaces and it will try (i think) converting the macro file to syntax 2.0 which generates a risk of breaking the macros if they are complex and include JS
6 #mymacroinsyntax10doc("World")
7 {{/velocity}}

$xwiki.getDocument('Help.SupportPanel.Content').translatedDocument.title

Failed to execute the [include] macro. Cause: [Current user [incubator:XWiki.evalica] doesn't have view rights on document [xwiki:Help.SupportPanel.Content]]. Click on this message for details.