|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
pt.moredata.dataentry.taglibs.AbstractIfTag
pt.moredata.dataentry.taglibs.DoIfErrorTag
pt.moredata.dataentry.taglibs.ShowIfErrorTag
Tag for showing an error message if DataEntry give a error. Company MoreData
| Field Summary | |
protected java.lang.String |
_customErrorMessage
Menssagem de erro escrita na tag |
protected boolean |
_showTagBody
If true the last command executed give an error. |
| Fields inherited from class pt.moredata.dataentry.taglibs.AbstractIfTag |
_dataEntry, _out, _session |
| 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 | |
ShowIfErrorTag()
|
|
| Method Summary | |
int |
doAfterBody()
Metodo executado em cada iteracao depois de se ter processado o conteudo da tag. |
protected void |
doBeforeStartTag()
Codigo executado antes do codigo do metodo doStartTag(). |
int |
doEndTag()
Processa o fim da tag. |
void |
doFinally()
Invoked in all cases after doEndTag() for any class implementing Tag, IterationTag or BodyTag. |
protected boolean |
includeBodyTag()
Verifica se o conteudo da tag devera ser incluido ou nao |
void |
setHeight(java.lang.String height)
Setter for property height. |
void |
setNewWindow(java.lang.String newWindow)
Setter for property newWindow. |
void |
setTarget(java.lang.String target)
Setter for property target. |
void |
setWidth(java.lang.String width)
Setter for property width. |
void |
setWindowName(java.lang.String windowName)
Setter for property windowName. |
| Methods inherited from class pt.moredata.dataentry.taglibs.AbstractIfTag |
doCatch, doInitBody, doStartTag, init, setDataEntryId |
| 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 |
| Field Detail |
protected java.lang.String _customErrorMessage
protected boolean _showTagBody
| Constructor Detail |
public ShowIfErrorTag()
| Method Detail |
protected boolean includeBodyTag()
AbstractIfTag
includeBodyTag in class DoIfErrorTag
protected void doBeforeStartTag()
throws java.io.IOException
doBeforeStartTag in class AbstractIfTagjava.io.IOException
public int doAfterBody()
throws javax.servlet.jsp.JspTagException
doAfterBody in interface javax.servlet.jsp.tagext.IterationTagdoAfterBody in class AbstractIfTagjavax.servlet.jsp.JspTagException - Caso ocorra algum erro a processar a tag.
public int doEndTag()
throws javax.servlet.jsp.JspTagException
doEndTag in interface javax.servlet.jsp.tagext.TagdoEndTag in class AbstractIfTagjavax.servlet.jsp.JspTagExceptionpublic void doFinally()
doFinally in interface javax.servlet.jsp.tagext.TryCatchFinallydoFinally in class AbstractIfTagpublic void setTarget(java.lang.String target)
target - New value of property target.public void setNewWindow(java.lang.String newWindow)
newWindow - New value of property newWindow.public void setWindowName(java.lang.String windowName)
windowName - New value of property windowName.public void setWidth(java.lang.String width)
width - New value of property width.public void setHeight(java.lang.String height)
height - New value of property height.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||