Databinding-aware JSP tag for rendering an HTML 'input
'
element with a 'type
' of 'checkbox
'.
May be used in one of three different approaches depending on the
type of the bound value
.
Boolean
then the 'input(checkbox)
'
is marked as 'checked' if the bound value is true
. The 'value
'
attribute corresponds to the resolved value of the value
property.
Collection
then the 'input(checkbox)
'
is marked as 'checked' if the configured value
is present in
the bound Collection
.
input(checkbox)
' is marked as 'checked'
if the the configured value
is equal to the bound value.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class org.springframework.web.servlet.tags.form.AbstractDataBoundFormElementTag | |||||||||||
From class org.springframework.web.servlet.tags.RequestContextAwareTag |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Renders the '
input(radio) ' element with the configured
value . | |||||||||||
Write the details for the given primary tag:
i.e.
|
Renders the 'input(radio)
' element with the configured
value
. Marks the element as checked if the
value matches the bound value
.
JspException |
---|
Write the details for the given primary tag: i.e. special attributes and the tag's value.
JspException |
---|