1 Reply Latest reply on Sep 10, 2008 12:07 PM by Stefano Travelli

    statusMessages.add(): problem with messages

    Nicola Ben Novice

      Hi,
      I am updating my application to 2.1.0.BETA1 and using


      statusMessages.addFromResourceBundle(Severity.WARN, "msgs.login.wrongLogin");


      to add a new message to be diplayed.


      But I don't see any message (ex. when I fail my login).


      My login.xhtml contains (as usual):


      <h:messages globalOnly="true" styleClass="message"
                     errorClass="errormsg" infoClass="infomsg" warnClass="warnmsg"
                     id="globalMessages" />


      Any suggestions?
      I need to update some configuration?
      In the manual I haven't seen anything about this.


      Thx,
      Nic