Primefaces ManyCheckbox inside ui:repeat calls setter method only for last loop
问题 I have a <p:selectManyCheckbox> inside <ui:repeat> , getting it's items from a List of a certain Object Class (provided by <ui:repeat> -variable) and is supposed to save the chosen items into another List of the same Object Class. But it calls the setter method #{cartBean.setSelectedExtras} only for the last entry (last iteration of <ui:repeat> ). <ui:repeat var="item" value="#{category.items}"> <p:selectManyCheckbox id="extraCheckbox" value="#{cartBean.selectedExtras}" layout="pageDirection"