How can I keep a true checkbox when I display an error message? Every time I display a errorMessage
my checkBox turns false . How can I solve this problem? I'm using jsf2.0
and primefaces
.
This is the button that calls a method:
<p:commandButton styleClass="btIcon"
value="Consolidar"
image="addIcon"
process="@this :formCadastro"
actionListener="#{bean.addConsolidacao}"
onclick="carregando.show();"
oncomplete="carregando.hide();"
rendered="true"
update="@this :formCadastro :formPanel" />