 |
-
-
Field Summary
-
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
-
Constructor Summary
Constructors
Constructor and Description |
LabelTag() |
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
protected java.lang.String |
autogenerateFor()
Autogenerate the 'for ' attribute value for this tag.
|
int |
doEndTag()
Close the 'label ' tag.
|
void |
doFinally()
|
protected java.lang.String |
getFor()
Get the value of the 'id ' attribute.
|
protected java.lang.String |
getName()
Overrides #getName() to always return null ,
because the 'name ' attribute is not supported by the
'label ' tag.
|
protected java.lang.String |
resolveFor()
Determine the 'for ' attribute value for this tag,
autogenerating one if none specified.
|
void |
setFor(java.lang.String forId)
Set the value of the 'for ' attribute.
|
protected int |
writeTagContent(TagWriter tagWriter)
Writes the opening 'label ' tag and forces a block tag so
that body content is written correctly.
|
-
Methods inherited from class org.springframework.web.servlet.tags.form.AbstractHtmlElementTag
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, writeOptionalAttributes
-
Methods inherited from class org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag
autogenerateId, convertToDisplayString, getBindStatus, getBoundValue, getEditor, getId, getNestedPath, getPath, getPropertyEditor, getPropertyPath, processFieldValue, resolveId, setId, setPath
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
LabelTag
public LabelTag()
|
|