2 Replies Latest reply on Jan 10, 2008 1:44 PM by Cle' Diggins

    problem to display FacesMessages

    Jeremy MARC Newbie

      Hi,

      I try to use FaceMessage to display a message on the client side.

      When I did :

      context.addMessage(component.getClientId(context),
       new FacesMessage(FacesMessage.SEVERITY_INFO, "",
       "test"));
      
      


      It's works, but :

      facesMessages.addToControl(component.getClientId(context),
       FacesMessage.SEVERITY_INFO, "test de message");
      
      


      Doesn't work. I have an error :



      4:34:44,419 INFO [lifecycle] WARNING: FacesMessage(s) have been enqueued, but may not have been displayed.



      thank you for your help !