|
|||||||||||
| 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.DoIfTag
Tag for executing conditional code. The code enclosed in the tag body is executed if one or more conditions declared in the tag parameters is true. Company MoreData
| Field Summary | |
protected LogEntry |
_lastControllerLogEntry
|
protected LogEntry |
_lastLogEntry
|
protected java.lang.String |
lastCommand
LastCommand condition. |
protected java.lang.String |
lastControllerCommand
LastCommand condition. |
protected java.lang.String |
mode
Chosed DataEntry mode for running the code inside DoIfTag tag body |
protected java.lang.String |
rowCount
RowCount condition. |
| 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 | |
DoIfTag()
|
|
| Method Summary | |
void |
doFinally()
Invoked in all cases after doEndTag() for any class implementing Tag, IterationTag or BodyTag. |
protected int |
getMode(java.lang.String mode)
|
protected int |
getRowCount(java.lang.String count)
|
protected boolean |
includeBodyTag()
Verifica se o conteudo da tag devera ser incluido ou nao |
protected void |
init()
|
void |
setLastCommand(java.lang.String lastCommand)
Setter for property lastCommand. |
void |
setLastControllerCommand(java.lang.String lastControllerCommand)
Setter for property lastControllerCommand. |
void |
setMode(java.lang.String mode)
Setter for property mode. |
void |
setRowCount(java.lang.String rowCount)
Setter for property rowCount. |
| Methods inherited from class pt.moredata.dataentry.taglibs.AbstractIfTag |
doAfterBody, doBeforeStartTag, doCatch, doEndTag, doInitBody, doStartTag, 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 mode
protected java.lang.String rowCount
protected java.lang.String lastCommand
protected java.lang.String lastControllerCommand
protected LogEntry _lastLogEntry
protected LogEntry _lastControllerLogEntry
| Constructor Detail |
public DoIfTag()
| Method Detail |
protected void init()
throws javax.servlet.jsp.JspTagException
init in class AbstractIfTagjavax.servlet.jsp.JspTagExceptionprotected int getMode(java.lang.String mode)
protected int getRowCount(java.lang.String count)
protected boolean includeBodyTag()
AbstractIfTag
includeBodyTag in class AbstractIfTagpublic void doFinally()
doFinally in interface javax.servlet.jsp.tagext.TryCatchFinallydoFinally in class AbstractIfTagpublic void setMode(java.lang.String mode)
mode - New value of property mode.public void setRowCount(java.lang.String rowCount)
rowCount - New value of property rowCount.public void setLastCommand(java.lang.String lastCommand)
lastCommand - New value of property lastCommand.public void setLastControllerCommand(java.lang.String lastControllerCommand)
lastControllerCommand - New value of property lastControllerCommand.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||