org.apache.struts.tiles.taglib
Class GetTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by org.apache.struts.tiles.taglib.DefinitionTagSupport
          extended by org.apache.struts.tiles.taglib.InsertTag
              extended by org.apache.struts.tiles.taglib.GetTag
All Implemented Interfaces:
Serializable, IterationTag, Tag, ComponentConstants, PutListTagParent, PutTagParent

public class GetTag
extends InsertTag

This is the tag handler for <tiles:get>, which gets content from the request scope and either includes the content or prints it, depending upon the value of the content's direct attribute. This tag is intended to be compatible with the same tag from Templates (David Geary). Implementation extends InsertTag for facility (no so well). The only difference is the default value of attribute 'ignore', which is true for this tag (default behavior of David Geary's templates).

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.struts.tiles.taglib.InsertTag
InsertTag.DirectStringHandler, InsertTag.InsertHandler, InsertTag.TagHandler
 
Field Summary
 
Fields inherited from class org.apache.struts.tiles.taglib.InsertTag
attribute, beanName, beanProperty, beanScope, cachedCurrentContext, definitionName, flush, isErrorIgnored, log, name, pageContext, processEndTag, ROLE_DELIMITER, tagHandler
 
Fields inherited from class org.apache.struts.tiles.taglib.DefinitionTagSupport
controllerName, controllerType, page, role
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id
 
Fields inherited from interface org.apache.struts.tiles.taglib.ComponentConstants
COMPONENT_CONTEXT, COMPONENT_SCOPE, EXCEPTION_KEY, LOCALE_KEY
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
GetTag()
          Constructor.
 
Method Summary
 void release()
          Release all allocated resources.
 
Methods inherited from class org.apache.struts.tiles.taglib.InsertTag
createTagHandler, doEndTag, doInclude, doStartTag, getBeanName, getBeanProperty, getBeanScope, getDefinitionName, getFlush, getIgnore, getName, getPageContext, processAsDefinitionOrURL, processAttribute, processBean, processDefinition, processDefinitionName, processName, processNestedTag, processNestedTag, processObjectValue, processTypedAttribute, processUrl, putAttribute, putAttribute, releaseInternal, setAttribute, setBeanName, setBeanProperty, setBeanScope, setComponent, setDefinition, setFlush, setFlush, setIgnore, setName, setPageContext, userHasRole
 
Methods inherited from class org.apache.struts.tiles.taglib.DefinitionTagSupport
getControllerName, getControllerType, getPage, getRole, getTemplate, setController, setControllerClass, setControllerName, setControllerType, setControllerUrl, setPage, setRole, setTemplate
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetTag

public GetTag()
Constructor. Set default value for 'isErrorIgnored' to true.

Method Detail

release

public void release()
Release all allocated resources.

Specified by:
release in interface Tag
Overrides:
release in class InsertTag


Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.