org.apache.struts2.tiles
Class StrutsFreeMarkerAttributeRenderer
java.lang.Object
org.apache.tiles.renderer.impl.AbstractBaseAttributeRenderer
org.apache.tiles.renderer.impl.AbstractTypeDetectingAttributeRenderer
org.apache.struts2.tiles.StrutsFreeMarkerAttributeRenderer
- All Implemented Interfaces:
- org.apache.tiles.awareness.TilesApplicationContextAware, org.apache.tiles.awareness.TilesRequestContextFactoryAware, org.apache.tiles.evaluator.AttributeEvaluatorFactoryAware, org.apache.tiles.renderer.AttributeRenderer, org.apache.tiles.renderer.TypeDetectingAttributeRenderer
public class StrutsFreeMarkerAttributeRenderer
- extends org.apache.tiles.renderer.impl.AbstractTypeDetectingAttributeRenderer
Fields inherited from class org.apache.tiles.renderer.impl.AbstractBaseAttributeRenderer |
applicationContext, attributeEvaluatorFactory, contextFactory |
Method Summary |
boolean |
isRenderable(Object value,
org.apache.tiles.Attribute attribute,
org.apache.tiles.context.TilesRequestContext request)
|
protected void |
registerTilesBeanModel(com.opensymphony.xwork2.ActionContext ctx)
This register dedicated BeanModel to support tiles tags. |
void |
write(Object value,
org.apache.tiles.Attribute attribute,
org.apache.tiles.context.TilesRequestContext request)
|
Methods inherited from class org.apache.tiles.renderer.impl.AbstractTypeDetectingAttributeRenderer |
isRenderable |
Methods inherited from class org.apache.tiles.renderer.impl.AbstractBaseAttributeRenderer |
getRequestContext, isPermitted, render, setApplicationContext, setAttributeEvaluatorFactory, setRequestContextFactory |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.tiles.renderer.AttributeRenderer |
render |
StrutsFreeMarkerAttributeRenderer
public StrutsFreeMarkerAttributeRenderer()
write
public void write(Object value,
org.apache.tiles.Attribute attribute,
org.apache.tiles.context.TilesRequestContext request)
throws IOException
- Specified by:
write
in class org.apache.tiles.renderer.impl.AbstractBaseAttributeRenderer
- Throws:
IOException
isRenderable
public boolean isRenderable(Object value,
org.apache.tiles.Attribute attribute,
org.apache.tiles.context.TilesRequestContext request)
registerTilesBeanModel
protected void registerTilesBeanModel(com.opensymphony.xwork2.ActionContext ctx)
- This register dedicated BeanModel to support tiles tags.
It requires
JspSupportServlet
to be registered in web.xml
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.