public abstract class AbstractHtmlInputElementTag extends AbstractHtmlElementTag
Provides a set of properties corresponding to the set of HTML attributes that are common across form input elements.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ACCESSKEY_ATTRIBUTE
The name of the '
accesskey ' attribute. |
static java.lang.String |
DISABLED_ATTRIBUTE
The name of the '
disabled ' attribute. |
static java.lang.String |
ONBLUR_ATTRIBUTE
The name of the '
onblur ' attribute. |
static java.lang.String |
ONCHANGE_ATTRIBUTE
The name of the '
onchange ' attribute. |
static java.lang.String |
ONFOCUS_ATTRIBUTE
The name of the '
onfocus ' attribute. |
static java.lang.String |
READONLY_ATTRIBUTE
The name of the '
readonly ' 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
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 |
---|
AbstractHtmlInputElementTag() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getAccesskey()
Get the value of the '
accesskey ' attribute. |
protected java.lang.String |
getOnblur()
Get the value of the '
onblur ' attribute. |
protected java.lang.String |
getOnchange()
Get the value of the '
onchange ' attribute. |
protected java.lang.String |
getOnfocus()
Get the value of the '
onfocus ' attribute. |
protected boolean |
isDisabled()
Get the value of the '
disabled ' attribute. |
protected boolean |
isReadonly()
Gets the value of the '
readonly ' attribute. |
void |
setAccesskey(java.lang.String accesskey)
Set the value of the '
accesskey ' attribute. |
void |
setDisabled(boolean disabled)
Set the value of the '
disabled ' attribute. |
void |
setOnblur(java.lang.String onblur)
Set the value of the '
onblur ' attribute. |
void |
setOnchange(java.lang.String onchange)
Set the value of the '
onchange ' attribute. |
void |
setOnfocus(java.lang.String onfocus)
Set the value of the '
onfocus ' attribute. |
void |
setReadonly(boolean readonly)
Sets the value of the '
readonly ' attribute. |
protected void |
writeOptionalAttributes(TagWriter tagWriter)
Adds input-specific optional attributes as defined by this base class.
|
getCssClass, getCssErrorClass, getCssStyle, getDir, getDynamicAttributes, getLang, getOnclick, getOndblclick, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getTabindex, getTitle, isValidDynamicAttribute, resolveCssClass, setCssClass, setCssErrorClass, setCssStyle, setDir, setDynamicAttribute, setLang, setOnclick, setOndblclick, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setTabindex, setTitle, writeDefaultAttributes
autogenerateId, convertToDisplayString, doFinally, getBindStatus, getBoundValue, getEditor, getId, getName, getNestedPath, getPath, getPropertyEditor, getPropertyPath, processFieldValue, resolveId, setId, setPath
createTagWriter, doStartTagInternal, evaluate, getDisplayString, getDisplayString, isDefaultHtmlEscape, writeOptionalAttribute, writeTagContent
htmlEscape, isHtmlEscape, isResponseEncodedHtmlEscape, setHtmlEscape
doCatch, doStartTag, getRequestContext
doAfterBody, doEndTag, findAncestorWithClass, getParent, getValue, getValues, release, removeValue, setPageContext, setParent, setValue
public static final java.lang.String ONFOCUS_ATTRIBUTE
onfocus
' attribute.public static final java.lang.String ONBLUR_ATTRIBUTE
onblur
' attribute.public static final java.lang.String ONCHANGE_ATTRIBUTE
onchange
' attribute.public static final java.lang.String ACCESSKEY_ATTRIBUTE
accesskey
' attribute.public static final java.lang.String DISABLED_ATTRIBUTE
disabled
' attribute.public static final java.lang.String READONLY_ATTRIBUTE
readonly
' attribute.public void setOnfocus(java.lang.String onfocus)
onfocus
' attribute.
May be a runtime expression.protected java.lang.String getOnfocus()
onfocus
' attribute.public void setOnblur(java.lang.String onblur)
onblur
' attribute.
May be a runtime expression.protected java.lang.String getOnblur()
onblur
' attribute.public void setOnchange(java.lang.String onchange)
onchange
' attribute.
May be a runtime expression.protected java.lang.String getOnchange()
onchange
' attribute.public void setAccesskey(java.lang.String accesskey)
accesskey
' attribute.
May be a runtime expression.protected java.lang.String getAccesskey()
accesskey
' attribute.public void setDisabled(boolean disabled)
disabled
' attribute.protected boolean isDisabled()
disabled
' attribute.public void setReadonly(boolean readonly)
readonly
' attribute.protected boolean isReadonly()
readonly
' attribute.protected void writeOptionalAttributes(TagWriter tagWriter) throws JspException
writeOptionalAttributes
in class AbstractHtmlElementTag
JspException