public class FreemarkerRenderer extends Object implements Renderer
AttributeValueFreemarkerServlet
internally to forward the request.#setParameter(String, String)
for all the
parameters that you want to set, and then call #commit()
.Constructor and Description |
---|
FreemarkerRenderer(AttributeValueFreemarkerServlet servlet)
Constructor.
|
public FreemarkerRenderer(AttributeValueFreemarkerServlet servlet)
servlet
- The servlet to use.public void render(String path, Request request) throws IOException
render
in interface Renderer
path
- 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 Renderer
path
- 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.