Hi,
I am evaluating the XWiki Rendering Framework for a project of ours.
It was no problem to create a little POC to render some sample XWiki syntax
into HTML. Next I tried to write a little colour macro that simply renders
some text in a colour which is specified as a macro parameter. However, I
did not manage to get the macro executed. In the resulting HTML output I
get the error message:
Unknown macro: colour.The "colour" macro is not in the list of registered
macros. Verify the spelling or contact your administrator.
Now I have the following questions:
Is it possible at all to render a macro and execute it standalone with the
rendering framework (as opposed to running it in the XWiki Platform)?
As mentioned above, I implemented a little POC application that simply
renders XWiki syntax. The macro itself I implemented as a standalone jar. I
put the macro jar in the class path and the macro's package to the
context.txt of the POC application. Is that correct so far?
Am I missing something totally altogether?
Thanks for your help in advance.
Regards,
Thomas