| Constructor and Description |
|---|
StrutsFreeMarkerAttributeRenderer() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isRenderable(String path,
Request request)
Checks if this renderer can render a path.
|
protected ActionContext |
readActionContext(Request request)
Depending on how Tiles definition was defined, request can an instance of JspRequest (for JSPs)
or a ServletRequest (FreeMarker)
|
protected void |
registerTilesBeanModel(ActionContext ctx)
This register dedicated BeanModel to support tiles tags.
|
void |
render(String path,
Request request)
Renders a path.
|
public void render(String path, Request request) throws IOException
Rendererrender in interface Rendererpath - The path to render.request - The Tiles request context.IOException - If something goes wrong during rendition.protected ActionContext readActionContext(Request request)
public boolean isRenderable(String path, Request request)
RendererisRenderable in interface Rendererpath - The path to be rendered.request - The request context.true if this renderer can render the attribute.protected void registerTilesBeanModel(ActionContext ctx)
JspSupportServlet to be registered in web.xmlCopyright © 2000–2024 Apache Software Foundation. All rights reserved.