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_ATTRIBUTENESTED_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 |
|---|---|
boolean |
isDisabled()
Get the value of the '
disabled' attribute. |
protected boolean |
isValidDynamicAttribute(String localName,
Object value)
Flags "type" as an illegal dynamic attribute.
|
void |
setDisabled(boolean 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, 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 void setDisabled(boolean disabled)
disabled' attribute.
May be a runtime expression.public boolean isDisabled()
disabled' attribute.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()