|
||||||||||
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.tiles.taglib.UseAttributeTag
public class UseAttributeTag
Custom tag exposing a component attribute to page.
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 | |
---|---|
UseAttributeTag()
|
Method Summary | |
---|---|
int |
doEndTag()
Clean up after processing this enumeration. |
int |
doStartTag()
Expose the requested attribute from component context. |
String |
getClassname()
Get class name. |
boolean |
getIgnore()
Get ignore. |
String |
getName()
Get name. |
String |
getScope()
Get scope. |
void |
release()
Release all allocated resources. |
void |
setClassname(String name)
Set the class name. |
void |
setIgnore(boolean ignore)
Set ignore. |
void |
setName(String value)
Set name. |
void |
setScope(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
false
, which throws an exception.
Only "attribute not found" - errors are ignored.
Constructor Detail |
---|
public UseAttributeTag()
Method Detail |
---|
public void release()
release
in interface Tag
release
in class TagSupport
public String getClassname()
public void setClassname(String name)
name
- The new class name.public void setName(String value)
public String getName()
public void setScope(String scope)
scope
- The new scope.public String getScope()
public void setIgnore(boolean ignore)
public boolean getIgnore()
public int doStartTag() throws JspException
doStartTag
in interface Tag
doStartTag
in class TagSupport
JspException
- if a JSP exception has occurredpublic int doEndTag() throws JspException
doEndTag
in interface Tag
doEndTag
in class TagSupport
JspException
- if a JSP exception has occurred
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |