org.infoglue.cms.workflow.taglib
Class SubmitTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.infoglue.deliver.taglib.AbstractTag
org.infoglue.cms.workflow.taglib.WorkflowTag
org.infoglue.cms.workflow.taglib.ElementTag
org.infoglue.cms.workflow.taglib.SubmitTag
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag
public class SubmitTag
- extends ElementTag
This class implements the <iw:submit> tag, which presents an <button type="submit" ... />
form element which is used for executing a specific workflow action.
- See Also:
- Serialized Form
| Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
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 |
SubmitTag()
Default constructor. |
|
Method Summary |
protected org.infoglue.cms.workflow.taglib.Element |
createElement()
Creates the element to use when constructing this tag. |
void |
setActionID(java.lang.String id)
Sets the id of the action that will be executed when pressing the button. |
void |
setOnclick(java.lang.String onclick)
|
void |
setValue(java.lang.String value)
Sets the value attribute of the button element. |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setPageContext, setParent, setValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SubmitTag
public SubmitTag()
- Default constructor.
createElement
protected org.infoglue.cms.workflow.taglib.Element createElement()
- Creates the element to use when constructing this tag.
- Specified by:
createElement in class ElementTag
- Returns:
- the element to use when constructing this tag.
setActionID
public void setActionID(java.lang.String id)
- Sets the id of the action that will be executed when pressing the button.
- Parameters:
id - the action id.
setValue
public void setValue(java.lang.String value)
- Sets the value attribute of the button element.
- Parameters:
value - the value to use.
setOnclick
public void setOnclick(java.lang.String onclick)
Copyright © 2005 InfoGlue.org All Rights Reserved.