Class VelocityRenderer
java.lang.Object
org.apache.tiles.request.velocity.render.VelocityRenderer
- All Implemented Interfaces:
- Renderer
Attribute renderer for rendering Velocity templates as attributes. It is
 available only to Servlet-based environment. It uses VelocityView to render
 the response. To initialize it correctly, call #setParameter(String, String)
 for all the parameters that you want to set, and then call #commit().
- 
Constructor SummaryConstructorsConstructorDescriptionVelocityRenderer(org.apache.velocity.tools.view.VelocityView velocityView) Constructor.
- 
Method Summary
- 
Constructor Details- 
VelocityRendererpublic VelocityRenderer(org.apache.velocity.tools.view.VelocityView velocityView) Constructor.- Parameters:
- velocityView- The Velocity view manager.
 
 
- 
- 
Method Details- 
renderDescription copied from interface:RendererRenders a path.- Specified by:
- renderin interface- Renderer
- Parameters:
- path- The path to render.
- request- The Tiles request context.
- Throws:
- IOException- If something goes wrong during rendition.
 
- 
isRenderableDescription copied from interface:RendererChecks if this renderer can render a path. Note that this does not mean it is the best renderer available, but checks only its capability.- Specified by:
- isRenderablein interface- Renderer
- Parameters:
- path- The path to be rendered.
- request- The request context.
- Returns:
- trueif this renderer can render the attribute.
 
 
-