Hello,

In my velocity script I try to include some velocity code from another page.
I want similare function like "source" in bash, it's like copy/paste some code 
in main script from another file.
I read https://network.xwiki.com/xwiki/bin/view/DocXE31Fr/IncludeInVelocity and 
use #includeInContext("mySpace.myPage") but there are board effect:
#includeInContext return HTML code like this
<p>I call MyMacro<br/><p>My color is Red</p>...
Then to obtain what I want I must user html tag:
{{html}}
  #includeInContext("mySpace.myPage") 
{{/html}}

Is it normal?


Thxs,

Pascal B
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to