|
|||||||||||
| 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
org.apache.struts.taglib.html.BaseHandlerTag
org.apache.struts.taglib.html.SubmitTag
com.ivata.mask.web.tag.html.SubmitTag
com.ivata.mask.web.tag.html.ClearTag
Overridden from SubmitTag for convenience, this tag creates a
submit button with the name new or Clear. If
you set the parameter asNewButton to true then
it will be a new submit.
Tag attributes:
| attribute | reqd. | param. class | description |
|---|---|---|---|
| asNewButton | true | boolean |
If true, then this is a New button. Otherwise a Clear
button is created. |
Note: all the tag attributes from are included.
| Field Summary |
| Fields inherited from class org.apache.struts.taglib.html.SubmitTag |
messages, property, text, value |
| Fields inherited from class org.apache.struts.taglib.html.BaseHandlerTag |
accesskey, defaultLocale, indexed, tabindex |
| 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 | |
ClearTag()
|
|
| Method Summary | |
int |
doStartTag()
Overridden to set the value and title strings to the values represented by the localized keys in this class. |
boolean |
getAsNewButton()
If true, then this is a New button. |
void |
setAsNewButton(boolean asNewButtonParam)
If true, then this is a New button. |
| Methods inherited from class com.ivata.mask.web.tag.html.SubmitTag |
doEndTag, getBundle, getMaskProperties, getTitleArgs, getValueArgs, setFieldName, setMaskProperties, setReadOnly, setTitleArgs, setTitleKey, setValueArgs, setValueKey |
| Methods inherited from class org.apache.struts.taglib.html.SubmitTag |
doAfterBody, getProperty, getValue, release, setProperty, setValue |
| Methods inherited from class org.apache.struts.taglib.html.BaseHandlerTag |
getAccesskey, getAlt, getAltKey, getDisabled, getElementClose, getIndexed, getLocale, getOnblur, getOnchange, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnselect, getReadonly, getStyle, getStyleClass, getStyleId, getTabindex, getTitle, getTitleKey, isXhtml, lookupProperty, message, prepareEventHandlers, prepareFocusEvents, prepareIndex, prepareKeyEvents, prepareMouseEvents, prepareStyles, prepareTextEvents, setAccesskey, setAlt, setAltKey, setBundle, setDisabled, setIndexed, setLocale, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setReadonly, setStyle, setStyleClass, setStyleId, setTabindex, setTitle |
| Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
doInitBody, getBodyContent, getPreviousOut, 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.Tag |
getParent, setPageContext, setParent |
| Constructor Detail |
public ClearTag()
| Method Detail |
public int doStartTag()
throws javax.servlet.jsp.JspException
Overridden to set the value and title strings to the values represented by the localized keys in this class.
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class SubmitTagjavax.servlet.jsp.JspException - if either valueKey or titleKey
have not been set, or as thrown by superclass method.public boolean getAsNewButton()
If true, then this is a New button. Otherwise a Clear
button is created.
public void setAsNewButton(boolean asNewButtonParam)
If true, then this is a New button. Otherwise a Clear
button is created.
asNewButtonParam - the new value of asNewButton.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||