title: There are some unhandled FacesMessages, this means not every FacesMessage had a chance to be rendered
body: <p>I have a JSF 2.1 + PrimeFaces 3.3 page:</p>
  
  <pre><code>&lt;h:form id="particluar"&gt;
    &lt;p:message id="msg" globalOnly="true" display="text"/&gt;
  
    &lt;h:panelGrid columns="2" id="test"&gt;
      &lt;h:panelGrid id="panel2" columns="3"&gt;
        &lt;p:inputText id="name1" value="Student.studentID" required="true"/&gt;          
        &lt;p:commandButton value="Check Name" actionListener="#{Student.abc}" process="name1" update="panel2" /&gt;
        &lt;p:message id="msg1" for="name1" display="text"/&gt;
      &lt;/h:panelGrid&gt;
  
      &lt;p:inputText id="name2" required="true"/&gt;
      &lt;p:message id="msg2" for="name2" display="text"/&gt;
  
      &lt;p:inputText id="name3" required="true"/&gt;
      &lt;p:message id="msg3" for="name3" display="text"/&gt;
  
    &lt;/h:panelGrid&gt;
    &lt;p:commandButton value="submit" actionListener="#{Student.xyz}" update="particluar" /&gt;
  &lt;/h:form&gt;
  </code></pre>
  
  <p>I'm trying to manually add faces messages when the name is invalid:</p>
  
  <pre><code>public void xyz() {
    if (name1.equals("primefaces")) {
      FacesContext.getCurrentInstance().addMessage("msg1", new FacesMessage(FacesMessage.SEVERITY_ERROR,"Invalid Name", "Invalid Name"));
    }
    if (name2.equals("primefaces")) {
      FacesContext.getCurrentInstance().addMessage("msg2", new FacesMessage(FacesMessage.SEVERITY_ERROR,"Invalid Name", "Invalid Name"));
    }
    if (name3.equals("primefaces")) {
      FacesContext.getCurrentInstance().addMessage("msg3", new FacesMessage(FacesMessage.SEVERITY_ERROR,"Invalid Name", "Invalid Name"));
    }
  }
  </code></pre>
  
  <p>But they do not show up and the server log keeps printing the following warning:</p>
  
  <blockquote>
    <p>There are some unhandled FacesMessages, this means not every
    FacesMessage had a chance to be rendered</p>
  </blockquote>
  
  <p>How do I show them in the page?</p>
  
  <p>And, a second question, if I submit the form with three empty input fields, it shows "required input error message" in each <code>&lt;p:message&gt;</code> associated with the <code>&lt;p:inputText&gt;</code>. How do I show them in the <code>&lt;p:message globalOnly="true"&gt;</code>?</p>