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_ATTRIBUTE
COMMAND_NAME_VARIABLE_NAME, NESTED_PATH_VARIABLE_NAME
logger, REQUEST_CONTEXT_PAGE_ATTRIBUTE
pageContext
EVAL_BODY_AGAIN
EVAL_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, writeOptionalAttributes
autogenerateId, convertToDisplayString, doFinally, getBindStatus, getBoundValue, getEditor, getId, getName, getNestedPath, getPath, getPropertyEditor, getPropertyPath, processFieldValue, resolveId, setId, setPath
createTagWriter, doStartTagInternal, evaluate, evaluateBoolean, getDisplayString, getDisplayString, isDefaultHtmlEscape, writeOptionalAttribute
isHtmlEscape, setHtmlEscape
doCatch, doStartTag, getRequestContext
doAfterBody, doEndTag, findAncestorWithClass, getParent, getValue, getValues, release, removeValue, setPageContext, setParent, setValue
public 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 AbstractHtmlElementTag
protected int writeTagContent(TagWriter tagWriter) throws JspException
input
' tag to the supplied TagWriter
including the
databound value.writeTagContent
in class AbstractFormTag
Tag.doStartTag()
.JspException
AbstractHtmlElementTag.writeDefaultAttributes(TagWriter)
,
AbstractDataBoundFormElementTag.getBoundValue()
protected boolean isDisabled() throws JspException
JspException