org.apache.struts.tiles.taglib
Class GetTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.apache.struts.tiles.taglib.DefinitionTagSupport
org.apache.struts.tiles.taglib.InsertTag
org.apache.struts.tiles.taglib.GetTag
- All Implemented Interfaces:
- Serializable, IterationTag, Tag, ComponentConstants, PutListTagParent, PutTagParent
- Direct Known Subclasses:
- ELGetTag
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
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 javax.servlet.jsp.tagext.TagSupport |
id |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GetTag
public GetTag()
- Constructor.
Set default value for 'isErrorIgnored' to
true
.
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.