|
From: <jue...@we...> - 2003-10-22 18:29:54
|
Darren, all,
I've refactored our Velocity support today, into a generic =
VelocityEngineFactory and VelocityEngineFactoryBean plus a web-specific =
VelocityConfigurer for web views. The reason is that we are using =
Velocity for email content generation at werk3AT and needed a proper way =
to set up a VelocityEngine for this. VelocityEngineFactoryBean does =
exactly that, analogous to for example LocalSessionFactoryBean, offering =
the prepared VelocityEngine instance as bean reference.
From the web point of view, almost everything stays the same: There's =
still VelocityConfigurer etc. One property name has changed though: the =
former "webAppRootMarker" is called "appRootMarker" now. The web default =
is still "${webapp.root}" like before, so that shouldn't matter. BTW, =
this marker can be changed at the VelocityConfigurer level; it does not =
depend on the "webAppRootKey" in web.xml, it is just named accordingly =
for consistency reasons. The velocity-config article did not explain =
that correctly (already fixed).
Please give everything one last try if possible! If there are no issues =
till tomorrow evening, I will release 1.0 M2 Friday morning at the =
latest.
Juergen
DI J=FCrgen H=F6ller
Senior System Architect
______________________________________
werk3ATS - division systementwicklung
werk3AT informations- und mediensysteme
europaplatz 4
A - 4020 linz
t. +43 (0) 732 71 65 29 502
f. +43 (0) 732 71 65 29 3
mailto:jue...@we...
http://www.werk3at.com
______________________________________
werk3ATS - WIR ENTWICKELN ERFOLG
|