|Deletions are marked like this.||Additions are marked like this.|
|Line 8:||Line 8:|
* Layout support is provided by [http://static.springframework.org/spring/docs/1.2/api/org/springframework/web/servlet/view/velocity/VelocityLayoutView.html VelocityLayoutView].
Let's see if we can gather tips on using Velocity with Spring.
To get started, take a look at VelocityAndSpringStepByStep.
Toolbox support is provided by [http://static.springframework.org/spring/docs/1.2/api/org/springframework/web/servlet/view/velocity/VelocityToolboxView.html VelocityToolboxView]. I'm not sure if you can inject a tool from the ApplicationContext to the Velocity Context...
For VelocityTools 1.2, you might want to apply [http://opensource.atlassian.com/projects/spring/browse/SPR-979 this patch] to set the VelocityEngine so tools like ViewRenderTool will work.