|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
pt.moredata.dataentry.taglibs.SetTargetForTag
Tag for changing the target page to be displayed after the execution of a command. Company MoreData
| Field Summary |
| 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 | |
SetTargetForTag()
|
|
| Method Summary | |
void |
doCatch(java.lang.Throwable t)
Invoked if a Throwable occurs while evaluating the BODY inside a tag or in any of the following methods: Tag.doStartTag(), Tag.doEndTag(), IterationTag.doAfterBody() and BodyTag.doInitBody(). |
int |
doEndTag()
Processa o fim da tag. |
void |
doFinally()
Invoked in all cases after doEndTag() for any class implementing Tag, IterationTag or BodyTag. |
int |
doStartTag()
Processa o inicio da tag. |
static java.util.Map |
getDataEntryTargetMap(DataEntry dataEntry)
Return the map of the targets url for each command of a DataEntry. |
static java.util.Map |
getDataEntryTargetMap(DataEntry dataEntry,
boolean create)
Return the map of the targets url for each command of a DataEntry. |
void |
setCommandName(java.lang.String commandName)
Setter for property commandName. |
void |
setDataEntryId(java.lang.String dataEntryId)
Setter for property dataEntryId. |
void |
setTarget(java.lang.String target)
Setter for property target. |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SetTargetForTag()
| Method Detail |
public static java.util.Map getDataEntryTargetMap(DataEntry dataEntry,
boolean create)
dataEntry - The DataEntry.create - If true this method will create a new map of targets for
the dataentry if no one exists.public static java.util.Map getDataEntryTargetMap(DataEntry dataEntry)
dataEntry - The DataEntry.
public int doStartTag()
throws javax.servlet.jsp.JspTagException
doStartTag in interface javax.servlet.jsp.tagext.Tagjavax.servlet.jsp.JspTagException
public int doEndTag()
throws javax.servlet.jsp.JspTagException
doEndTag in interface javax.servlet.jsp.tagext.Tagjavax.servlet.jsp.JspTagException
public void doCatch(java.lang.Throwable t)
throws java.lang.Throwable
doCatch in interface javax.servlet.jsp.tagext.TryCatchFinallyt - - The throwable exception navigating through this tag.
java.lang.Throwable - - if the exception is to be rethrown further
up the nest chain.public void doFinally()
doFinally in interface javax.servlet.jsp.tagext.TryCatchFinallypublic void setDataEntryId(java.lang.String dataEntryId)
dataEntryId - New value of property dataEntryId.public void setCommandName(java.lang.String commandName)
commandName - New value of property commandName.public void setTarget(java.lang.String target)
target - New value of property target.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||