public class InputButtonSupportTag extends InputTagSupport implements javax.servlet.jsp.tagext.BodyTag
Support tag class that can generate HTML form fields with localized value attributes. Primarily used to contain identical functionality between submit, reset and button input types. The only capability offered above and beyond a pure html tag is the ability to lookup the value of the button (i.e. the text on the button that the user sees) from a localized resource bundle. The tag will set it's value using the first non-null result from the following list:
errorRenderer, fieldErrorspageContext, parentTag| Constructor and Description |
|---|
InputButtonSupportTag() |
| Modifier and Type | Method and Description |
|---|---|
int |
doAfterBody()
Does nothing.
|
int |
doEndInputTag()
Looks up the appropriate value to use for the submit button and then writes the tag
out to the page.
|
void |
doInitBody()
Does nothing.
|
int |
doStartInputTag()
Does nothing.
|
java.lang.String |
getValue()
Returns the value set with setValue().
|
void |
setValue(java.lang.String value)
Sets the value to use for the submit button if all other strategies fail.
|
doCatch, doEndTag, doFinally, doStartTag, format, format, getActionBean, getDisabled, getFieldErrors, getFormatPattern, getFormatType, getLocalizedFieldName, getLocalizedFieldName, getName, getOverrideValueOrValues, getParentFormTag, getReadonly, getSingleOverrideValue, getSize, getValidationMetadata, getValueOnPage, hasErrors, isItemSelected, loadErrors, makeFocused, registerWithParentForm, setDisabled, setFocus, setFormatPattern, setFormatType, setName, setReadonly, setSizeevaluateExpression, get, getAccesskey, getAttributes, getBodyContent, getBodyContentAsString, getCssClass, getDir, getId, getLang, getOnblur, getOnchange, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnselect, getStyle, getTabindex, getTitle, release, set, setAccesskey, setBodyContent, setClass, setCssClass, setDir, setDynamicAttribute, setId, setLang, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setStyle, setTabindex, setTitle, toString, writeAttributes, writeCloseTag, writeOpenTag, writeSingletonTaggetActionBeanType, getActionBeanUrl, getPageContext, getParent, getParentTag, getTagStack, popPageContextAttributes, pushPageContextAttributes, setPageContext, setParentpublic void setValue(java.lang.String value)
public java.lang.String getValue()
public int doStartInputTag()
throws javax.servlet.jsp.JspException
doStartInputTag in class InputTagSupportjavax.servlet.jsp.JspExceptionpublic void doInitBody()
throws javax.servlet.jsp.JspException
doInitBody in interface javax.servlet.jsp.tagext.BodyTagjavax.servlet.jsp.JspExceptionpublic int doAfterBody()
throws javax.servlet.jsp.JspException
doAfterBody in interface javax.servlet.jsp.tagext.IterationTagjavax.servlet.jsp.JspExceptionpublic int doEndInputTag()
throws javax.servlet.jsp.JspException
doEndInputTag in class InputTagSupportjavax.servlet.jsp.JspException - if output cannot be written.? Copyright 2005-2006, Stripes Development Team.