org.apache.struts2.tiles
Class StrutsFreeMarkerAttributeRenderer

java.lang.Object
  extended by org.apache.tiles.renderer.impl.AbstractBaseAttributeRenderer
      extended by org.apache.tiles.renderer.impl.AbstractTypeDetectingAttributeRenderer
          extended by 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


Field Summary
 
Fields inherited from class org.apache.tiles.renderer.impl.AbstractBaseAttributeRenderer
applicationContext, attributeEvaluatorFactory, contextFactory
 
Constructor Summary
StrutsFreeMarkerAttributeRenderer()
           
 
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
 

Constructor Detail

StrutsFreeMarkerAttributeRenderer

public StrutsFreeMarkerAttributeRenderer()
Method Detail

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–2018 Apache Software Foundation. All rights reserved.