5 Replies Latest reply on Mar 11, 2008 12:08 PM by pmuir

    acesMessages.instance().add. EL and params problem

      I want to add the global message with some params. I use the function


      FacesMessages.instance().add("#{messages['myMessage']}", myParam);



      in message.properties i have:


      myMessage=This is may message with param #0



      but i got this message on the browser:


      This is may message with param #0



      if I change it to:


      FacesMessages.instance().add("This is may message with param #0", myParam);



      The message is displayed properly.


      What is wrong?