Hi,
I am newbee to
JSF, facing a issue with the selected values.
Here is the scenario.
I have List of objects which i am populating in the .XHTML file.
<h:selectManyCheckbox value="#{srchDev.osSelected}">
<f:converter converterId="utilConverter" />
<f:selectItems value="#{srchDev.osList}" />
</h:selectManyCheckbox>
In the backing bean i have
private List<OS> osList;
private List<OS> osSelected;
In the converter
i am wondering on how the get the values selected.
In getAsObject method,
value of the
String just returns "on".
How do i get the actual selected string or value and convert to an object.
Any examples will be really helpful
Thanks
s