public class VelocityRenderer extends Object implements org.apache.tiles.request.render.Renderer
VelocityView to render the response.#setParameter(String, String) for
all the parameters that you want to set, and then call #commit().| Constructor and Description |
|---|
VelocityRenderer(org.apache.velocity.tools.view.VelocityView velocityView)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isRenderable(String path,
org.apache.tiles.request.Request request) |
void |
render(String path,
org.apache.tiles.request.Request request) |
public VelocityRenderer(org.apache.velocity.tools.view.VelocityView velocityView)
velocityView - The Velocity view manager.public void render(String path, org.apache.tiles.request.Request request) throws IOException
render in interface org.apache.tiles.request.render.RendererIOExceptionpublic boolean isRenderable(String path, org.apache.tiles.request.Request request)
isRenderable in interface org.apache.tiles.request.render.RendererCopyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.