org.apache.tiles.jsp.taglib
Class ImportAttributeTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.apache.tiles.jsp.taglib.AttributeTagSupport
org.apache.tiles.jsp.taglib.ImportAttributeTag
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
public class ImportAttributeTag
- extends AttributeTagSupport
Import attribute(s) into the specified scope.
If not explicitly named, all attributes are imported.
If the scope is not specified, page scope is assumed.
- Since:
- Tiles 1.0
- See Also:
- Serialized Form
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
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 |
Method Summary |
void |
execute()
Expose the requested property from attribute context. |
java.lang.String |
getToName()
Returns the name of the destination attribute. |
void |
setToName(java.lang.String toName)
Sets the name of the destination attribute. |
Methods inherited from class org.apache.tiles.jsp.taglib.AttributeTagSupport |
doEndTag, doStartTag, getIgnore, getName, getScope, getScope, getScopeId, release, setIgnore, setName, setScope |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImportAttributeTag
public ImportAttributeTag()
getToName
public java.lang.String getToName()
Returns the name of the destination attribute. If not specified, the name
will be the same as specified in name
attribute
- Returns:
- The destination attribute name.
setToName
public void setToName(java.lang.String toName)
Sets the name of the destination attribute. If not specified, the name
will be the same as specified in name
attribute
- Parameters:
toName
- The destination attribute name.
execute
public void execute()
throws javax.servlet.jsp.JspException
- Expose the requested property from attribute context.
- Specified by:
execute
in class AttributeTagSupport
- Throws:
javax.servlet.jsp.JspException
- On errors processing tag.