Velocity Views

Marvin Addison marvin.addison at gmail.com
Wed Oct 22 07:40:49 EDT 2014


I noticed that the velocity views declare an xhtml doctype and use
html tags like <header> and <footer>. As far as I know those tags are
only valid in html5, and I would recommend going with html5 views
anyway since that's where the center of mass is these days. I'm happy
to take on this task and html conformance generally if you'd like.

I'd also like to suggest an improvement: add the Spring Environment
object to the Velocity context. We have a use case to do tier-specific
environment lookups for data (commonly URLs) used in views, and I
would imagine that's a fairly common deployer use case in general.

M


More information about the dev mailing list