Java Reference
In-Depth Information
At this point we need to select the
selected
property from the
Select bindable
property
list, then select the
selected
property of the
CustomerList
managed bean in
the
Select binding target
list.
The
selected
attribute of the checkbox component simply indicates if the checkbox
is selected, that way it can be rendered checked or unchecked in the page as
appropriate, but it doesn't set the actual selected value that is sent to the server on
form submission. For this purpose, we need to use the
selectedValue
attribute of
the checkbox tag.