Commandbutton works only on second click until a <h:selectBooleanCheckbox> on a HashMap is removed
问题 I'm working with JSF 2.2.9, i have the following dataTable and buttons: <h:commandButton id="commandButtonRemoverSelected" actionListener="#{managedBeanName.removeSelected()}" class="btn btn-primary" value="Sim"> </h:commandButton> <h:dataTable var="bean" value="#{managedBeanName.beans}" styleClass="table table-hover" binding="#{managedBeanName.dataTable}"> <h:column headerClass="smallColumn"> <f:facet name="header"> <h:selectBooleanCheckbox valueChangeListener="#{managedBeanName.selectAll}">