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

From version 2.1
edited by Ludovic Dubost
on 2009/04/30 10:39
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,4 +1,6 @@
1 -{{include document="Test.TestMacroSyntax10" output=false /}}
1 += Method 1 uses an XWiki syntax 2.0 include
2 +
3 +{{include document="Test.TestMacroSyntax10" context="current"/}}
2 2  {{velocity}}
3 3  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
4 4  #mymacroinsyntax10doc("World")