| org.springframework.web.servlet.view.AbstractTemplateViewResolver org.springframework.web.servlet.view.velocity.VelocityViewResolver
All known Subclasses: org.springframework.web.servlet.view.velocity.VelocityLayoutViewResolver,
initApplicationContext | protected void initApplicationContext()(Code) | | |
setDateToolAttribute | public void setDateToolAttribute(String dateToolAttribute)(Code) | | Set the name of the DateTool helper object to expose in the Velocity context
of this view, or null if not needed. DateTool is part of Velocity Tools 1.0.
See Also: org.apache.velocity.tools.generic.DateTool See Also: VelocityView.setDateToolAttribute |
setNumberToolAttribute | public void setNumberToolAttribute(String numberToolAttribute)(Code) | | Set the name of the NumberTool helper object to expose in the Velocity context
of this view, or null if not needed. NumberTool is part of Velocity Tools 1.1.
See Also: org.apache.velocity.tools.generic.NumberTool See Also: VelocityView.setNumberToolAttribute |
setToolboxConfigLocation | public void setToolboxConfigLocation(String toolboxConfigLocation)(Code) | | Set a Velocity Toolbox config location, for example "/WEB-INF/toolbox.xml",
to automatically load a Velocity Tools toolbox definition file and expose
all defined tools in the specified scopes. If no config location is
specified, no toolbox will be loaded and exposed.
The specfied location string needs to refer to a ServletContext
resource, as expected by ServletToolboxManager which is part of
the view package of Velocity Tools.
Note: Specifying a toolbox config location will lead to
VelocityToolboxView instances being created.
See Also: org.apache.velocity.tools.view.servlet.ServletToolboxManager.getInstance See Also: VelocityToolboxView.setToolboxConfigLocation |
setVelocityFormatterAttribute | public void setVelocityFormatterAttribute(String velocityFormatterAttribute)(Code) | | Set the name of the VelocityFormatter helper object to expose in the
Velocity context of this view, or null if not needed.
VelocityFormatter is part of the standard Velocity distribution.
See Also: org.apache.velocity.app.tools.VelocityFormatter See Also: VelocityView.setVelocityFormatterAttribute |
|
|