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

From version 3.1
edited by Ludovic Dubost
on 2009/04/30 10:42
Change comment: There is no comment for this version
To version 4.1
edited by Vincent Massol
on 2009/04/30 10:58
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.ludovic
1 +xwiki:XWiki.VincentMassol
Content
... ... @@ -1,6 +1,6 @@
1 1  = Method 1 uses an XWiki syntax 2.0 include
2 2  
3 -{{include document="Test.TestMacroSyntax10" output=false /}}
3 +{{include document="Test.TestMacroSyntax10" context="current"/}}
4 4  {{velocity}}
5 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 6  #mymacroinsyntax10doc("World")