|
||||||||||
| 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.tiles.taglib.ImportAttributeTag
public class ImportAttributeTag
Import attribute from component to requested scope. Attribute name and scope are optional. If not specified, all component attributes are imported in page scope.
| Field Summary | |
|---|---|
protected boolean |
isErrorIgnored
Are errors ignored. |
| 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 | |
|---|---|
ImportAttributeTag()
|
|
| Method Summary | |
|---|---|
int |
doEndTag()
Clean up after processing this enumeration. |
int |
doStartTag()
Expose the requested property from component context. |
boolean |
getIgnore()
Get ignore flag. |
java.lang.String |
getName()
Get the name. |
java.lang.String |
getScope()
Get scope. |
void |
release()
Release all allocated resources. |
void |
setIgnore(boolean ignore)
Set ignore flag. |
void |
setName(java.lang.String name)
Set the name. |
void |
setScope(java.lang.String scope)
Set the scope. |
| 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 |
|---|
protected boolean isErrorIgnored
ignore.
Default value is false, which throws an exception.
Only "attribute not found" - errors are ignored.
| Constructor Detail |
|---|
public ImportAttributeTag()
| Method Detail |
|---|
public void release()
release in interface javax.servlet.jsp.tagext.Tagrelease in class javax.servlet.jsp.tagext.TagSupportpublic java.lang.String getName()
public void setName(java.lang.String name)
name - The new namepublic void setScope(java.lang.String scope)
scope - Scope.public java.lang.String getScope()
public void setIgnore(boolean ignore)
ignore - default: false: Exception is thrown when
attribute is not found, set to
true to ignore missing attributes silentlypublic boolean getIgnore()
false: Exception is thrown when attribute
is not found, set to
true to ignore missing attributes silently
public int doStartTag()
throws javax.servlet.jsp.JspException
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class javax.servlet.jsp.tagext.TagSupportjavax.servlet.jsp.JspException - On errors processing tag.
public int doEndTag()
throws javax.servlet.jsp.JspException
doEndTag in interface javax.servlet.jsp.tagext.TagdoEndTag in class javax.servlet.jsp.tagext.TagSupportjavax.servlet.jsp.JspException - On errors processing tag.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||