public class HiddenInputTag extends AbstractHtmlElementTag
input' field
containing the databound value.
Example (binding to 'name' property of form backing object):
Since:
| Modifier and Type | Field and Description |
|---|---|
static String |
DISABLED_ATTRIBUTE
The name of the '
disabled' attribute. |
CLASS_ATTRIBUTE, DIR_ATTRIBUTE, LANG_ATTRIBUTE, ONCLICK_ATTRIBUTE, ONDBLCLICK_ATTRIBUTE, ONKEYDOWN_ATTRIBUTE, ONKEYPRESS_ATTRIBUTE, ONKEYUP_ATTRIBUTE, ONMOUSEDOWN_ATTRIBUTE, ONMOUSEMOVE_ATTRIBUTE, ONMOUSEOUT_ATTRIBUTE, ONMOUSEOVER_ATTRIBUTE, ONMOUSEUP_ATTRIBUTE, STYLE_ATTRIBUTE, TABINDEX_ATTRIBUTE, TITLE_ATTRIBUTECOMMAND_NAME_VARIABLE_NAME, NESTED_PATH_VARIABLE_NAMElogger, REQUEST_CONTEXT_PAGE_ATTRIBUTEpageContextEVAL_BODY_AGAINEVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE| Constructor and Description |
|---|
HiddenInputTag() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDisabled()
Get the value of the '
disabled' attribute. |
protected boolean |
isDisabled()
Is the current HTML tag disabled?
|
protected boolean |
isValidDynamicAttribute(String localName,
Object value)
Flags "type" as an illegal dynamic attribute.
|
void |
setDisabled(String disabled)
Set the value of the '
disabled' attribute. |
protected int |
writeTagContent(TagWriter tagWriter)
Writes the HTML '
input' tag to the supplied TagWriter including the
databound value. |
getCssClass, getCssErrorClass, getCssStyle, getDir, getDynamicAttributes, getLang, getOnclick, getOndblclick, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getTabindex, getTitle, resolveCssClass, setCssClass, setCssErrorClass, setCssStyle, setDir, setDynamicAttribute, setLang, setOnclick, setOndblclick, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setTabindex, setTitle, writeDefaultAttributes, writeOptionalAttributesautogenerateId, convertToDisplayString, doFinally, getBindStatus, getBoundValue, getEditor, getId, getName, getNestedPath, getPath, getPropertyEditor, getPropertyPath, processFieldValue, resolveId, setId, setPathcreateTagWriter, doStartTagInternal, evaluate, evaluateBoolean, getDisplayString, getDisplayString, isDefaultHtmlEscape, writeOptionalAttributeisHtmlEscape, setHtmlEscapedoCatch, doStartTag, getRequestContextdoAfterBody, doEndTag, findAncestorWithClass, getParent, getValue, getValues, release, removeValue, setPageContext, setParent, setValuepublic static final String DISABLED_ATTRIBUTE
disabled' attribute.public String getDisabled()
disabled' attribute.public void setDisabled(String disabled)
disabled' attribute.
May be a runtime expression.protected boolean isValidDynamicAttribute(String localName, Object value)
isValidDynamicAttribute in class AbstractHtmlElementTagprotected int writeTagContent(TagWriter tagWriter) throws JspException
input' tag to the supplied TagWriter including the
databound value.writeTagContent in class AbstractFormTagTag.doStartTag().JspExceptionAbstractHtmlElementTag.writeDefaultAttributes(TagWriter),
AbstractDataBoundFormElementTag.getBoundValue()protected boolean isDisabled()
throws JspException
JspException