alan mcclellan wrote:
I'm experimenting with some of the xwiki macros. From the xwiki syntax helper page (http://hub.opensolaris.org/bin/view/XWiki/XWikiSyntax?xpage=print#HMacros) I copy the info macro:

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

I paste this into my page. However, in my rendered page, instead of a box with light bulb image, the macro displays as follows:

    <div class="infomessage">Some info text</div>

What am I missing? Am wrestling with other macros, too, but thought I'd start with an easy one.


You need to enter;

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

and I'd suggest that either the page you cite is incorrect, or the info macro should include the {{html}} in its output.

I'll check into it and log an XWiki bug if required.

Chris
_______________________________________________
website-discuss mailing list
[email protected]

Reply via email to