|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.servlet.jsp.tagext.TagSupport | +--org.apache.struts.taglib.tiles.AttributeToScopeTag
Custom tag that puts component's attributes in a scope (request, page, ...).
Field Summary | |
private java.lang.String |
property
Deprecated. The property name to be exposed. |
private int |
scope
Deprecated. The scope value. |
private java.lang.String |
scopeName
Deprecated. The scope name. |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary | |
AttributeToScopeTag()
Deprecated. |
Method Summary | |
int |
doEndTag()
Deprecated. Clean up after processing this enumeration. |
int |
doStartTag()
Deprecated. Expose the requested property from component context. |
java.lang.String |
getProperty()
Deprecated. Return the property name. |
void |
release()
Deprecated. Release all allocated resources. |
void |
setProperty(java.lang.String property)
Deprecated. Set the property name. |
void |
setScope(java.lang.String scope)
Deprecated. Set the scope. |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
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 |
Field Detail |
private java.lang.String scopeName
private int scope
private java.lang.String property
Constructor Detail |
public AttributeToScopeTag()
Method Detail |
public java.lang.String getProperty()
public void setProperty(java.lang.String property)
property
- The property namepublic void setScope(java.lang.String scope)
scope
- The new scopepublic int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspException
- if a JSP exception has occurredpublic int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspException
- if a JSP exception has occurredpublic void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class javax.servlet.jsp.tagext.TagSupport
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |