The dev guides do a fine job explaining the use of groovy and velocity
code snippets. They also explain how to develop applications and
plugins by creating classes. However they don't do much to explain the
creation of macros; that or I'm failing to find this.
I greatly prefer using macros over copy/paste coding snippets into each
article. I managed to find this lovely article about creating Radeox
macros in xwiki:
http://hritcu.wordpress.com/2007/03/13/xwiki-plugins-tips-and-tricks/
but I'm struggling to find info on creating/adding what I believe are
referred to as Velocity Macros (#macroName(var1, var2...)). I assume
help has been requested on this repeatedly, but I seem to again be
having poor luck in my keyword searches. Looking at trends in macro
submissions, Velocity macros seem to be preferable in most cases, are
they? Does each have strengths and weaknesses?
I'd love to extend the online documentation, but I'm still learning. So
without experience or guidance, much of what I'd write would be little
more than educated guesses.
Thanks,
Paul D. Grodt
Tecore Networks