I have an <ui:repeat>
in which I has a list of object , next to each of those object I need to have a checkbox
( to check this element).
I want to know how could I integrate those checkboxes inside the <ui:repeat>
in order to have many rows and each rows needs to has the object.getName()
and next to it I need to have the checkbox
?
If this is feasible, Please how could I obtain those checked objects in the backing bean ?
<ui:repeat var="myObject" varStatus="status"
value="#{Bean.getListObjects}">
<b>#{status.index+1} .</b>
<h:outputLabel value="#{myObject.name}" />
//need the checkbox here for example
</ui:repeat>