Hello again
Sometimes it would be nice to reuse some velocity code in multiple pages. Within the same page, Velocimacros can be used. But how can I write some code or Velocimacros in a page and include this in other pages (like a library). I tried some combinations using the include macro and includeInContext(). Didn’t try template(), since this would require a .vm file in the file system if I understood correctly, which is not that simple to maintain …
The goal would be that the include would execute the code at the place where the include is called (either declare the velocimacro to be used somewhere below in the code or execute the code where the include is defined)
Thank you