p:remoteCommand inside iterating component like p:dataTable only works for last row
问题 i was trying to print the value entered in the inputText but it only shows 0 except for the last row it shows the right value! here's a minimal code (i didn't include all the fields and the getters/setters) @ManagedBean(name="medicament") @ViewScoped public class MedicamentBean { private List<Medicament> medicaments; private String libelle; private int qte_vente; public void test() { System.out.println(this.qte_vente); } } html: <h:form> <p:dataTable value ="#{medicament.medicaments}" var ="m