public abstract class AbstractSingleCheckedElementTag extends AbstractCheckedElementTag
input
' element with a 'type
'
of 'checkbox
' or 'radio
'.ACCESSKEY_ATTRIBUTE, DISABLED_ATTRIBUTE, ONBLUR_ATTRIBUTE, ONCHANGE_ATTRIBUTE, ONFOCUS_ATTRIBUTE, 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 |
---|
AbstractSingleCheckedElementTag() |
Modifier and Type | Method and Description |
---|---|
protected Object |
getLabel()
Get the value of the '
label ' attribute. |
protected Object |
getValue()
Get the value of the '
value ' attribute. |
void |
setLabel(Object label)
Set the value of the '
label ' attribute. |
void |
setValue(Object value)
Set the value of the '
value ' attribute. |
protected int |
writeTagContent(TagWriter tagWriter)
Renders the '
input(radio) ' element with the configured
value . |
protected abstract void |
writeTagDetails(TagWriter tagWriter)
Write the details for the given primary tag:
i.e.
|
autogenerateId, getInputType, isValidDynamicAttribute, renderFromBoolean, renderFromValue, renderFromValue
getAccesskey, getOnblur, getOnchange, getOnfocus, isDisabled, isReadonly, setAccesskey, setDisabled, setOnblur, setOnchange, setOnfocus, setReadonly, writeOptionalAttributes
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
convertToDisplayString, doFinally, getBindStatus, getBoundValue, getEditor, getId, getName, getNestedPath, getPath, getPropertyEditor, getPropertyPath, processFieldValue, resolveId, setId, setPath
createTagWriter, doStartTagInternal, evaluate, getDisplayString, getDisplayString, isDefaultHtmlEscape, writeOptionalAttribute
htmlEscape, isHtmlEscape, isResponseEncodedHtmlEscape, setHtmlEscape
doCatch, doStartTag, getRequestContext
doAfterBody, doEndTag, findAncestorWithClass, getParent, getValue, getValues, release, removeValue, setPageContext, setParent, setValue
public void setValue(Object value)
value
' attribute.
May be a runtime expression.protected Object getValue()
value
' attribute.public void setLabel(Object label)
label
' attribute.
May be a runtime expression.protected Object getLabel()
label
' attribute.protected int writeTagContent(TagWriter tagWriter) throws JspException
input(radio)
' element with the configured
value
. Marks the element as checked if the
value matches the bound value
.writeTagContent
in class AbstractCheckedElementTag
Tag.doStartTag()
.JspException
protected abstract void writeTagDetails(TagWriter tagWriter) throws JspException
JspException