|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
org.apache.struts.taglib.tiles.ImportAttributeTag
org.apache.strutsel.taglib.tiles.ELImportAttributeTag
Import attribute from component to requested scope. Attribute name and scope are optional. If not specified, all component attributes are imported in page scope.
This class is a subclass of the class
org.apache.struts.taglib.tiles.ImportAttributeTag
which provides most of
the described functionality. This subclass allows all attribute values to
be specified as expressions utilizing the JavaServer Pages Standard Library
expression language.
Field Summary | |
private java.lang.String |
ignoreExpr
Instance variable mapped to "ignore" tag attribute. |
private java.lang.String |
nameExpr
Instance variable mapped to "name" tag attribute. |
private java.lang.String |
scopeExpr
Instance variable mapped to "scope" tag attribute. |
Fields inherited from class org.apache.struts.taglib.tiles.ImportAttributeTag |
isErrorIgnored |
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 |
Constructor Summary | |
ELImportAttributeTag()
|
Method Summary | |
int |
doStartTag()
Process the start tag. |
private void |
evaluateExpressions()
Processes all attribute values which use the JSTL expression evaluation engine to determine their values. |
java.lang.String |
getIgnoreExpr()
Getter method for "ignore" tag attribute. |
java.lang.String |
getNameExpr()
Getter method for "name" tag attribute. |
java.lang.String |
getScopeExpr()
Getter method for "scope" tag attribute. |
void |
release()
Resets attribute values for tag reuse. |
void |
setIgnoreExpr(java.lang.String ignoreExpr)
Setter method for "ignore" tag attribute. |
void |
setNameExpr(java.lang.String nameExpr)
Setter method for "name" tag attribute. |
void |
setScopeExpr(java.lang.String scopeExpr)
Setter method for "scope" tag attribute. |
Methods inherited from class org.apache.struts.taglib.tiles.ImportAttributeTag |
doEndTag, getIgnore, getName, getScope, 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 |
Field Detail |
private java.lang.String scopeExpr
private java.lang.String nameExpr
private java.lang.String ignoreExpr
Constructor Detail |
public ELImportAttributeTag()
Method Detail |
public java.lang.String getScopeExpr()
public java.lang.String getNameExpr()
public java.lang.String getIgnoreExpr()
public void setScopeExpr(java.lang.String scopeExpr)
public void setNameExpr(java.lang.String nameExpr)
public void setIgnoreExpr(java.lang.String ignoreExpr)
public void release()
public int doStartTag() throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
- if a JSP exception has occurredprivate void evaluateExpressions() throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
- if a JSP exception has occurred
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |