Hi,

adding velocity macros that create html doesn't work the way it is described
in the XWikiSyntax page:

http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HVelocity2FGroovyScripts

The syntax mentioned here doesn't work:

{{velocity}} #info("Some info text") {{/velocity}} 

The html code ist displayed as code:

<div class="infomessage">test</div>

This syntax works but i don't know if this is correct:

{{velocity}}{{html}} #info("Some info text") {{/html}}{{/velocity}}

hel.

works

-----
Helmut Lehner
h...@hel.at

-- 
View this message in context: 
http://n2.nabble.com/Veloity-Macros-in-XWiki-2.0-tp2251210p2251210.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to