Dashboard > WebWork > ... > Result Types > Velocity Result
  WebWork Log In View a printable version of the current page.  
  Velocity Result
Added by Casey Moyaert, last edited by Don Brown on Dec 21, 2005  (view change)
Labels: 
(None)

Using the Servlet container's JspFactory, this result mocks a JSP execution environment and then displays a Velocity template that will be streamed directly to the servlet output.

Parameters

  • location (default) - the location of the template to process.
  • parse - true by default. If set to false, the location param will not be parsed for Ognl expressions.

This result follows the same rules from WebWorkResultSupport.

Examples

<result name="success" type="velocity">
  <param name="location">foo.vm</param>
</result>

Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.2.9 Build:#527 Sep 07, 2006) - Bug/feature request - Contact Administrators