Tim Pizey
19 years ago
Hi,
I have just switched, temporarily, from WebMacro to Velocity,
for no good reason other than to exercise some code that has been hanging
around claiming to allow Velocity/WebMacro co-operation.
After some fiddling I have
http://melati.org/melati/org.melati.admin.Admin/contacts/Main
running using Velocity as the template engine serving WebMacro templates.
It uses an extended ClasspathResourceLoader
http://melati.org/xref/org/melati/template/velocity/WebMacroClasspathResourceLoader.html
so it loads templates out of the jar and a helper class to convert WM to
Velocity using Perl5
http://melati.org/xref/org/melati/template/velocity/WebMacroConverter.html
Hope this is of interest/use to someone on the list.
yours
Tim Pizey
I have just switched, temporarily, from WebMacro to Velocity,
for no good reason other than to exercise some code that has been hanging
around claiming to allow Velocity/WebMacro co-operation.
After some fiddling I have
http://melati.org/melati/org.melati.admin.Admin/contacts/Main
running using Velocity as the template engine serving WebMacro templates.
It uses an extended ClasspathResourceLoader
http://melati.org/xref/org/melati/template/velocity/WebMacroClasspathResourceLoader.html
so it loads templates out of the jar and a helper class to convert WM to
Velocity using Perl5
http://melati.org/xref/org/melati/template/velocity/WebMacroConverter.html
Hope this is of interest/use to someone on the list.
yours
Tim Pizey