I am using primefaces and p:inputText fields that are required, I use global p:messages to display the required info, and growl only from the back end bean. However, on check are displayed both the p:messages and the default p:growl error messages for required fields. Does anyone know how to disable the default growl messages?
<p:messages id="messages" autoUpdate="true"/>
<h:form id="addUser">
<p:growl id="newmessage" showDetail="false" globalOnly="true" />
<p:inputText id="name" value="#{manageUser.user.name}" required="true" />
and in my backing bean
if (uf.checkUsernameAvailability(user.getLogin())) { FacesContext.getCurrentInstance().addMessage(null, new FacesMessage(FacesMessage.SEVERITY_WARN, "Error", "Username already exists!"));}
I don't understand why they keep appearing if they are not defined.