| java.lang.Object javax.servlet.jsp.tagext.TagSupport com.sun.portal.wireless.taglibs.base.BaseTagSupport com.sun.portal.wireless.taglibs.base.CommandTag
All known Subclasses: com.sun.portal.wireless.taglibs.mail.NewFolderTag, com.sun.portal.wireless.taglibs.mail.DeleteMessageTag, com.sun.portal.wireless.taglibs.mail.SendMessageTag, com.sun.portal.wireless.taglibs.cal.CalCommandTag, com.sun.portal.wireless.taglibs.mail.RenameFolderTag, com.sun.portal.wireless.taglibs.mail.DeleteFolderTag, com.sun.portal.wireless.taglibs.mail.FetchTag, com.sun.portal.wireless.taglibs.ab.ABBaseCommandTag, com.sun.portal.wireless.taglibs.mail.POPCollectTag, com.sun.portal.wireless.taglibs.mail.MoveMessageTag,
CommandTag | abstract public class CommandTag extends BaseTagSupport (Code) | | The CommandTag abstract class supports tags which execute
a command or action. Subclasses must implement the
abstract execute() method.
author: Robert O'Brien version: 1.0 |
Method Summary | |
public int | doEndTag() If command has succeeded then evaluate the rest
of the page. | public int | doStartTag() Execute the command and include or skip the
body depending on the command status. | abstract public boolean | execute() Execute the command action. | public void | release() |
executeStatus | protected boolean executeStatus(Code) | | Saves the status of command execution
|
doEndTag | public int doEndTag() throws JspException(Code) | | If command has succeeded then evaluate the rest
of the page. If the command fails then skip the
page.
SKIP_PAGE if the command fails.EVAL_PAGE if the command suceeds. exception: JspException - |
doStartTag | public int doStartTag() throws JspException(Code) | | Execute the command and include or skip the
body depending on the command status. If the
command succeeds then skip the tag body. If
the command fails then include the tag body.
SKIP_BODY if the command succeeds.EVAL_BODY_INCLUDE if the command fails. exception: JspException - |
execute | abstract public boolean execute() throws JspException(Code) | | Execute the command action. Returns the command status.
Subclasses must provide an implementation of this method.
If the command fails then the tag body is included,
Else if the command fails then the tag body is skipped.
true if the command succeeds.false if the command fails. exception: JspException - |
release | public void release()(Code) | | Cleanup
|
Fields inherited from com.sun.portal.wireless.taglibs.base.BaseTagSupport | protected String name(Code)(Java Doc)
|
|
|