3 Replies Latest reply on Nov 12, 2007 12:59 PM by Pete Muir

    Getting FacesMessages instance

    Matthias Gladt Newbie

      Hi,
      What's the right (or most common) way of getting an instance of FacesMessages?
      In the booking example you usually use @In, just once FacesMessages.instance().
      Is there a difference between FacesMessages.instance() and @In(create=true)? Or can I omit the (create=true) even the first time I need access?
      Thanks!
      Matthias