title: h:message not displayed in jsf page
body: <p><br/>
  I made a simple login page in jsf with a login field.  If the login is not correct (no user found in the database) a message should appear on the page but nothing is displayed...<br/>
  ps : If the user enter nothing, the message specified in the "requiredMessage" is displayed.<br/>
  This is the code of my jsf page : </p>
  
  <pre><code>&lt;h:body&gt;
          &lt;p&gt;Identification&lt;/p&gt;
          &lt;h:form prependId="false"&gt;           
              login : &lt;h:inputText id="log" value="#{filesystemCtrl.login}" required="true" requiredMessage="Please enter your username"/&gt;
              &lt;h:message for="log" style="color:red"/&gt;&lt;br/&gt;
              &lt;h:commandButton action="#{filesystemCtrl.identifier()}" value="Login"/&gt;
          &lt;/h:form&gt;
          &lt;div id="footer" align="center"&gt;
              &lt;ui:insert name="footer"&gt;
  
  
               &lt;ui:include src="footer.xhtml" /&gt;
              &lt;/ui:insert &gt;
          &lt;/div&gt;
      &lt;/h:body&gt;
  </code></pre>
  
  <p>And this is a part of the managedBean : </p>
  
  <pre><code>public String identifier() {
          client = filesystemFacade.identifier(login);
          if (client == null) {
              FacesContext context = FacesContext.getCurrentInstance();
              context.addMessage("log", new FacesMessage(FacesMessage.SEVERITY_ERROR, "Error", "No user found !"));
              return "failure";
          } else {
              return "success";
          }
      }
  </code></pre>