1
How can I keep a checkbox true when I display error message? Every time I display a errorMessage
my checkbox turns into false. How can I solve this problem? I am 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" />