|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.jsp.tagext.TagSupport javax.servlet.jsp.tagext.BodyTagSupport org.dbforms.taglib.IsErrorTag
Custom tag that evaluates its body if an Error has occured.
Based on ErrorTag and IsWebEvent tag, allows for conditional coding if an error event occured.
Field Summary |
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
bodyContent |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
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 | |
IsErrorTag()
|
Method Summary | |
void |
doCatch(Throwable t)
DOCUMENT ME! |
void |
doFinally()
DOCUMENT ME! |
int |
doStartTag()
Render the specified error messages if there are any. |
String |
getName()
DOCUMENT ME! |
String |
getValue()
DOCUMENT ME! |
void |
setName(String name)
DOCUMENT ME! |
void |
setValue(String string)
DOCUMENT ME! |
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
doAfterBody, doEndTag, doInitBody, getBodyContent, getPreviousOut, release, setBodyContent |
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 |
Methods inherited from interface javax.servlet.jsp.tagext.Tag |
getParent, setPageContext, setParent |
Constructor Detail |
public IsErrorTag()
Method Detail |
public void setName(String name)
name
- DOCUMENT ME!public String getName()
public void setValue(String string)
string
- public String getValue()
public void doCatch(Throwable t) throws Throwable
doCatch
in interface TryCatchFinally
t
- DOCUMENT ME!
Throwable
- DOCUMENT ME!public void doFinally()
doFinally
in interface TryCatchFinally
public int doStartTag() throws JspException
doStartTag
in interface Tag
JspException
- if a JSP exception has occurred
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |