On 9/11/06, Guillaume Sauthier <[email protected]> wrote:
Hi Gang !
I've got some questions concerning the development of XWiki extensions :
I've written a simple radeox macro that output a table; basically, it outputs "{table}" with contents in the macro writer. It works really fine until I decided to use the macro content (params.getContent()) ! If I only use my macro like this ({mymacro:<params>}), outputed tables seems to be interpreted correctly. But if I have the content ({mymacro}<content>{mymacro}), inner {table} seems to be no more interpreted. Why ?
Other question : Is this possible to configure a radeox macro as easily as an xwiki plugin ? I was going to give you has example your code :-)
With XWiki plugins, you have a context, and then you can access the Wiki and its configuration. But how can I do the equivalent with radeox macro ? Why you don't want to use plugins? It's better to use a plugin, because the plugin can give you the data, and after you render them in a velocity macro (like in macro.vm)
I or Ludovic will reply to your others questions later, i should look for the answer. :-) -- jeremi