pt.moredata.dataentry.taglibs
Class DoAfterCommandTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
pt.moredata.dataentry.taglibs.AbstractIfTag
pt.moredata.dataentry.taglibs.DoAfterCommandTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag, javax.servlet.jsp.tagext.TryCatchFinally
- public class DoAfterCommandTag
- extends AbstractIfTag
- implements javax.servlet.jsp.tagext.TryCatchFinally
Tag for executing / showing code if a command is executed.
Company MoreData
- Version:
- $Revision: 1.3 $
- Author:
- pcarmo
- See Also:
- Serialized Form
| 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 |
|
Method Summary |
void |
doFinally()
Invoked in all cases after doEndTag() for any class implementing Tag,
IterationTag or BodyTag. |
java.lang.String |
getName()
Getter for property name. |
protected boolean |
includeBodyTag()
Verifica se o conteudo da tag devera ser incluido ou nao |
void |
setName(java.lang.String name)
Setter for property name. |
| Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
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.TryCatchFinally |
doCatch |
| Methods inherited from interface javax.servlet.jsp.tagext.Tag |
getParent, setPageContext, setParent |
DoAfterCommandTag
public DoAfterCommandTag()
includeBodyTag
protected boolean includeBodyTag()
- Description copied from class:
AbstractIfTag
- Verifica se o conteudo da tag devera ser incluido ou nao
- Specified by:
includeBodyTag in class AbstractIfTag
doFinally
public void doFinally()
- Invoked in all cases after doEndTag() for any class implementing Tag,
IterationTag or BodyTag. This method is invoked even if an exception
has occurred in the BODY of the tag, or in any of the following methods:
Tag.doStartTag(), Tag.doEndTag(), IterationTag.doAfterBody() and
BodyTag.doInitBody().
This method is not invoked if the Throwable occurs during one of the
setter methods.
This method should not throw an Exception.
This method is intended to maintain per-invocation data integrity and
resource management actions.
- Specified by:
doFinally in interface javax.servlet.jsp.tagext.TryCatchFinally- Overrides:
doFinally in class AbstractIfTag
getName
public java.lang.String getName()
- Getter for property name.
- Returns:
- Value of property name.
setName
public void setName(java.lang.String name)
- Setter for property name.
- Parameters:
name - New value of property name.