On Sat, Jan 31, 2009 at 9:23 PM, hel-o <hel(a)hel.at> wrote:
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#HVelocity2FGroovy…
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}}
Yes it's the right syntax, the documentation is wrong here because
#info velocity is wrong, it should add the {{html}} macro itself when
it's running in XWiki syntax 2.0. See
http://jira.xwiki.org/jira/browse/XWIKI-3079
hel.
works
-----
Helmut Lehner
hel(a)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(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
.
_______________________________________________
users mailing list
users(a)xwiki.org