1
My primefaces p:Growl is showing twice the CPF name when Cpf is invalid. I am using bean validation.
<p:outputLabel for="cpf" value="CPF" rendered="#{cadastroClienteBean.CPF}"/>
<p:inputMask id="cpf" label="CPF" mask="999.999.999-99" placeholder="___.___.___-__"
value="#{cadastroClienteBean.cliente.documentoReceitaFedral}" size="14"
rendered="#{cadastroClienteBean.CPF}" required="true"
requiredMessage="CPF deve ser informado">
</p:inputMask>
@CPF
@Column(name = "doc_receita_federal", length = 14)
public String getDocumentoReceitaFedral() {
return documentoReceitaFedral;
}
Post the code.
– Laerte
@Laerte, sorry. I posted in the question
– Sidnei Ferreira
As your <p:Growl is written />?
– Marcos Sousa
@Marcossousa like this. ' <p:Growl autoUpdate="true" />'
– Sidnei Ferreira