3 Replies Latest reply on Sep 29, 2008 4:51 PM by Jaime Martin

    FacesMessage enqueued but not displayed

    Sascha Janz Master
      i want to add facesMessages to give the user a information.

      in my session bean i defined


      @Stateful
      @Name("Session")
      @Scope(value = ScopeType.SESSION)
      @Synchronized(timeout = 10000)
      public class SessionBean implements Session {
           
           @In(required=false)
           FacesMessages facesMessages;

      .
      .
      .

      facesMessages.add(new FacesMessage("test"));

      but i got the error

      WARNING: FacesMessage(s) have been enqueued, but may not have been displayed.

      what is wrong?