JSF 2 ui:repeat vs h:datatable behavior
问题 I had a bad time trying to solve p:selectBooleanButton doesn't render preselected value, a lot of hours just to fix it changing ui:repeat to h:datatable. Here is both pieces of code. <ui:repeat value="#{presupuestoBean.getItemsPresupuestBySeccion('Parte Delantera')}" var="itemPresupuesto"> <tr> <td><h:outputText value="#{itemPresupuesto.descripcion}"/></td> <td> <p:selectBooleanButton value="#{presupuestoBean.itemsPresupuestoAsignadoCambiar[itemPresupuesto.id]}" onLabel="Yes" offLabel="No"