Hi Vincent
I am still not able to work this out. I have this Wiki Snippet on a
page:
{{html}}{{velocity}}#info("The IBOutlet classifier can be moved to the
property definition if you like"){{/velocity}}{{/html}}
and it generates this HTML code:
<!--stopmacro--><!--startmacro:html|-||-|{{velocity}}#info("The
IBOutlet classifier can be moved to the property definition if you
like"){{/velocity}}--><p><p><div
class="infomessage">The
IBOutlet classifier can be moved to the property definition if you
like</div></p></p><!--stopmacro-->
which leads to entire text inside the paragraph to be printed out
(including the div).
I upgraded to 1.8.1 yesterday by just replacing the WAR file.
Andreas Schaefer
CEO of
Madplanet.com Inc.
andreas.schaefer(a)madplanet.com
schaefera(a)me.com
On Apr 14, 2009, at 12:19 AM, Vincent Massol wrote:
The velocity macros that were working for XWiki Syntax
1.0 still work
for XWiki syntax 2.0 (provided you use them inside the {{velocity}}
macro). However most of them output HTML and in XWiki Syntax 2.0 you
need to surround any HTML block by the {{html}} macro so basically
you'll need to write:
{{html}}{{velocity}}#warning("This is my warning to you"){{/velocity}}
{{/html}}