0 Replies Latest reply on Jun 10, 2009 9:32 PM by Gregory Nikle

    Problem with FacesMessages.addToControl(...

    Gregory Nikle Apprentice


      Can anybody help me resolve FacesMessages problem.

      Here is my code:

              private FacesMessages facesMessages;

      My method message

      facesMessages.add("registerLogin", messages.get("login.giveLogin"));

      Message should be rendered for input

      <h:inputText value="#{registerAction.login}" name="registerLogin" id="registerLogin" />
      <p class="blad"><h:message for="registerLogin" /></p>

      but I still get this instead of message on page

      INFO: WARNING: FacesMessage(s) have been enqueued, but may not have been displayed.
      sourceId=null[severity=(INFO 0), summary=(registerLogin), detail=(registerLogin)]

      This happen in new Seam 2.1.2, but in Seam 2.0.1GA this WORKS FINE!?
      Can anybody help me?