org.apache.struts.taglib.tiles

Class GetTag

Implemented Interfaces:
ComponentConstants, PutListTagParent, PutTagParent, Serializable

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).

Nested Class Summary

Nested classes/interfaces inherited from class org.apache.struts.taglib.tiles.InsertTag

InsertTag.DirectStringHandler, InsertTag.InsertHandler, InsertTag.TagHandler

Field Summary

Fields inherited from class org.apache.struts.taglib.tiles.InsertTag

ROLE_DELIMITER, attribute, beanName, beanProperty, beanScope, cachedCurrentContext, definitionName, flush, isErrorIgnored, log, name, pageContext, processEndTag, tagHandler

Fields inherited from class org.apache.struts.taglib.tiles.DefinitionTagSupport

controllerName, controllerType, page, role

Fields inherited from interface org.apache.struts.taglib.tiles.ComponentConstants

COMPONENT_CONTEXT, COMPONENT_SCOPE, EXCEPTION_KEY, LOCALE_KEY

Constructor Summary

GetTag()
Constructor.

Method Summary

void
release()
Release all allocated resources.

Methods inherited from class org.apache.struts.taglib.tiles.InsertTag

createTagHandler, doEndTag, doInclude, doStartTag, getBeanName, getBeanProperty, getBeanScope, getController, getCurrentContext, getDefinitionName, getFlush, getIgnore, getName, getPageContext, processAsDefinitionOrURL, processAttribute, processBean, processDefinition, processDefinitionName, processName, processNestedTag, processNestedTag, processObjectValue, processTypedAttribute, processUrl, putAttribute, putAttribute, release, releaseInternal, setAttribute, setBeanName, setBeanProperty, setBeanScope, setComponent, setDefinition, setFlush, setFlush, setIgnore, setName, setPageContext, userHasRole

Methods inherited from class org.apache.struts.taglib.tiles.DefinitionTagSupport

getControllerName, getControllerType, getPage, getRole, getTemplate, release, setController, setControllerClass, setControllerName, setControllerType, setControllerUrl, setPage, setRole, setTemplate

Constructor Details

GetTag

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

Method Details

release

public void release()
Release all allocated resources.
Overrides:
release in interface InsertTag

Copyright B) 2000-2007 - The Apache Software Foundation