Re: [xwiki-users] Executing a macro in the standalone XWiki Rendering Framework

2016-04-21 Thread Thomas Wendel
Hello Eduard and Thomas, Thanks for pointing me in the right direction, I got my little example macro working. Kind Regards, Thomas On 20 April 2016 at 15:54, Eduard Moraru wrote: > Hi, > > You could look at a very simple "userAvatar" macro for inspiration: > > https://github.com/xwiki/xwiki-

Re: [xwiki-users] Executing a macro in the standalone XWiki Rendering Framework

2016-04-20 Thread Thomas Mortagne
You can also look at http://rendering.xwiki.org/xwiki/bin/view/Main/ExtendingMacro for more details. On Wed, Apr 20, 2016 at 3:54 PM, Eduard Moraru wrote: > Hi, > > You could look at a very simple "userAvatar" macro for inspiration: > https://github.com/xwiki/xwiki-platform/tree/master/xwiki-plat

Re: [xwiki-users] Executing a macro in the standalone XWiki Rendering Framework

2016-04-20 Thread Eduard Moraru
Hi, You could look at a very simple "userAvatar" macro for inspiration: https://github.com/xwiki/xwiki-platform/tree/master/xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-macros/xwiki-platform-rendering-macro-useravatar Normally, you should: - extend org.xwiki.rendering.mac

Re: [xwiki-users] Executing a macro in the standalone XWiki Rendering Framework

2016-04-20 Thread Thomas Mortagne
On Wed, Apr 20, 2016 at 9:51 AM, Thomas Wendel wrote: > 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 t