|
The Spring Framework | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
org.springframework.web.servlet.tags.RequestContextAwareTag
org.springframework.web.servlet.tags.HtmlEscapingAwareTag
org.springframework.web.servlet.tags.form.AbstractFormTag
org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag
org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
org.springframework.web.servlet.tags.form.AbstractHtmlInputElementTag
public abstract class AbstractHtmlInputElementTag
Base class for databinding-aware JSP tags that render HTML form input element.
Provides a set of properties corresponding to the set of HTML attributes that are common across form input elements.
| Field Summary | |
|---|---|
static String |
ACCESSKEY_ATTRIBUTE
The name of the ' accesskey' attribute. |
protected String |
disabled
The value of the ' disabled' attribute. |
static String |
DISABLED_ATTRIBUTE
The name of the ' disabled' attribute. |
static String |
ONBLUR_ATTRIBUTE
The name of the ' onblur' attribute. |
static String |
ONCHANGE_ATTRIBUTE
The name of the ' onchange' attribute. |
static String |
ONFOCUS_ATTRIBUTE
The name of the ' onfocus' attribute. |
| Fields inherited from class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag |
|---|
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 |
| Fields inherited from class org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag |
|---|
COMMAND_NAME_ATTRIBUTE, COMMAND_NAME_VARIABLE_NAME, ID_ATTRIBUTE |
| Fields inherited from class org.springframework.web.servlet.tags.RequestContextAwareTag |
|---|
logger, REQUEST_CONTEXT_PAGE_ATTRIBUTE |
| Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
|---|
pageContext |
| Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
|---|
EVAL_BODY_AGAIN |
| Fields inherited from interface javax.servlet.jsp.tagext.Tag |
|---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
| Constructor Summary | |
|---|---|
AbstractHtmlInputElementTag()
|
|
| Method Summary | |
|---|---|
protected String |
getAccesskey()
Gets the value of the ' accesskey' attribute. |
protected String |
getDisabled()
Gets the value of the ' disabled' attribute. |
protected String |
getOnblur()
Gets the value of the ' onblur' attribute. |
protected String |
getOnchange()
Gets the value of the ' onchange' attribute. |
protected String |
getOnfocus()
Gets the value of the ' onfocus' attribute. |
protected boolean |
isDisabled()
Is the current HTML tag disabled? |
void |
setAccesskey(String accesskey)
Sets the value of the ' accesskey' attribute. |
void |
setDisabled(String disabled)
Sets the value of the ' disabled' attribute. |
void |
setOnblur(String onblur)
Sets the value of the ' onblur' attribute. |
void |
setOnchange(String onchange)
Sets the value of the ' onchange' attribute. |
void |
setOnfocus(String onfocus)
Sets the value of the ' onfocus' attribute. |
protected void |
writeDefaultAttributes(TagWriter tagWriter)
Writes the default attributes configured via this base class to the supplied TagWriter. |
| Methods inherited from class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag |
|---|
getCssClass, getCssErrorClass, getCssStyle, getDir, getLang, getOnclick, getOndblclick, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getTabindex, getTitle, resolveCssClass, setCssClass, setCssErrorClass, setCssStyle, setDir, setLang, setOnclick, setOndblclick, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setTabindex, setTitle |
| Methods inherited from class org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag |
|---|
autogenerateId, doFinally, getBindStatus, getBoundValue, getCompletePath, getId, getName, getNestedPath, getPath, getPropertyEditor, setId, setPath |
| Methods inherited from class org.springframework.web.servlet.tags.form.AbstractFormTag |
|---|
createTagWriter, doStartTagInternal, evaluate, getDisplayString, getDisplayString, writeOptionalAttribute, writeTagContent |
| Methods inherited from class org.springframework.web.servlet.tags.HtmlEscapingAwareTag |
|---|
isHtmlEscape, setHtmlEscape |
| Methods inherited from class org.springframework.web.servlet.tags.RequestContextAwareTag |
|---|
doCatch, doStartTag, getRequestContext |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
|---|
doAfterBody, doEndTag, findAncestorWithClass, getParent, getValue, getValues, release, removeValue, setPageContext, setParent, setValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ONFOCUS_ATTRIBUTE
onfocus' attribute.
public static final String ONBLUR_ATTRIBUTE
onblur' attribute.
public static final String ONCHANGE_ATTRIBUTE
onchange' attribute.
public static final String ACCESSKEY_ATTRIBUTE
accesskey' attribute.
public static final String DISABLED_ATTRIBUTE
disabled' attribute.
protected String disabled
disabled' attribute.
| Constructor Detail |
|---|
public AbstractHtmlInputElementTag()
| Method Detail |
|---|
public void setOnfocus(String onfocus)
onfocus' attribute.
May be a runtime expression.
protected String getOnfocus()
onfocus' attribute.
May be a runtime expression.
public void setOnblur(String onblur)
onblur' attribute.
May be a runtime expression.
protected String getOnblur()
onblur' attribute.
May be a runtime expression.
public void setOnchange(String onchange)
onchange' attribute.
May be a runtime expression.
protected String getOnchange()
onchange' attribute.
May be a runtime expression.
public void setAccesskey(String accesskey)
accesskey' attribute.
May be a runtime expression.
protected String getAccesskey()
accesskey' attribute.
May be a runtime expression.
public void setDisabled(String disabled)
disabled' attribute.
May be a runtime expression.
protected String getDisabled()
disabled' attribute.
May be a runtime expression.
protected void writeDefaultAttributes(TagWriter tagWriter)
throws JspException
TagWriter.
Subclasses should call this when they want the base attribute set to be written to the output.
writeDefaultAttributes in class AbstractHtmlElementTagtagWriter - the TagWriter to which any attributes are to be written
JspExceptionprotected boolean isDisabled()
|
The Spring Framework | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||