Package org.apache.struts2.tiles
Class StrutsFreeMarkerAttributeRenderer
java.lang.Object
org.apache.struts2.tiles.StrutsFreeMarkerAttributeRenderer
- All Implemented Interfaces:
- Renderer
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanisRenderable(String path, Request request) Checks if this renderer can render a path.protected ActionContextreadActionContext(Request request) Depending on how Tiles definition was defined, request can an instance of JspRequest (for JSPs) or a ServletRequest (FreeMarker)protected voidThis register dedicated BeanModel to support tiles tags.voidRenders a path.
- 
Constructor Details- 
StrutsFreeMarkerAttributeRendererpublic StrutsFreeMarkerAttributeRenderer()
 
- 
- 
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.
 
- 
readActionContextDepending on how Tiles definition was defined, request can an instance of JspRequest (for JSPs) or a ServletRequest (FreeMarker)
- 
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.
 
- 
registerTilesBeanModelThis register dedicated BeanModel to support tiles tags. It requiresJspSupportServletto be registered in web.xml
 
-