
public class VelocityRenderer extends Object implements 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.
|
public VelocityRenderer(org.apache.velocity.tools.view.VelocityView velocityView)
velocityView - The Velocity view manager.public void render(String path, Request request) throws IOException
render in interface Rendererpath - The path to render.request - The Tiles request context.IOException - If something goes wrong during rendition.public boolean isRenderable(String path, Request request)
isRenderable in interface Rendererpath - The path to be rendered.request - The request context.true if this renderer can render the attribute.Copyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.