Differences between revisions 9 and 10
Revision 9 as of 2005-05-24 22:44:31
Size: 1812
Editor: adsl-64-167-198-184
Comment: It would be great if we could inject Velocity tools from the Spring context.
Revision 10 as of 2005-06-08 23:22:49
Size: 1824
Editor: sjcd-dmzweb-ce7
Comment:
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
 * Of course, you have already read the [http://static.springframework.org/spring/docs/1.2/reference/view.html#view-velocity Reference Manual] and API for [http://static.springframework.org/spring/docs/1.2/api/org/springframework/ui/velocity/package-summary.html Velocity in general] and [http://static.springframework.org/spring/docs/1.2/api/org/springframework/web/servlet/view/velocity/package-summary.html as a view component].  * Of course, you have already read the [http://static.springframework.org/spring/docs/1.2.1/reference/view.html#view-velocity Reference Manual] and API for [http://static.springframework.org/spring/docs/1.2.1/api/org/springframework/ui/velocity/package-summary.html Velocity in general] and [http://static.springframework.org/spring/docs/1.2.1/api/org/springframework/web/servlet/view/velocity/package-summary.html as a view component].
Line 7: Line 7:
 * Toolbox support is provided by [http://static.springframework.org/spring/docs/1.2/api/org/springframework/web/servlet/view/velocity/VelocityToolboxView.html VelocityToolboxView].  * Toolbox support is provided by [http://static.springframework.org/spring/docs/1.2.1/api/org/springframework/web/servlet/view/velocity/VelocityToolboxView.html VelocityToolboxView].
Line 9: Line 9:
  * You can hard code tools by subclassing and overriding [http://static.springframework.org/spring/docs/1.2/api/org/springframework/web/servlet/view/velocity/VelocityView.html#exposeHelpers(org.apache.velocity.context.Context,%20javax.servlet.http.HttpServletRequest) VelocityView#exposeHelpers]. (Maarten Bosteels)   * You can hard code tools by subclassing and overriding [http://static.springframework.org/spring/docs/1.2.1/api/org/springframework/web/servlet/view/velocity/VelocityView.html#exposeHelpers(org.apache.velocity.context.Context,%20javax.servlet.http.HttpServletRequest) VelocityView#exposeHelpers]. (Maarten Bosteels)
Line 15: Line 15:
 * Layout support is provided by [http://static.springframework.org/spring/docs/1.2/api/org/springframework/web/servlet/view/velocity/VelocityLayoutView.html VelocityLayoutView].  * Layout support is provided by [http://static.springframework.org/spring/docs/1.2.1/api/org/springframework/web/servlet/view/velocity/VelocityLayoutView.html VelocityLayoutView].

Let's see if we can gather tips on using Velocity with Spring.

VelocityAndSpringTips (last edited 2009-09-20 22:06:21 by localhost)