2 Replies Latest reply on Dec 7, 2009 11:48 PM by shane.bryzak

    StatusMessages or FacesMessages

    nimo22

      Can someone tell me when should I use Seams StatusMessages and when Seams FacesMessages ? Where lies the difference?


        • 1. Re: StatusMessages or FacesMessages
          allanjun

          I usual use StatusMessages. Also interested to know the difference.

          • 2. Re: StatusMessages or FacesMessages
            shane.bryzak

            There is no difference really, when you are using JSF in your app.  StatusMessages is the parent class of FacesMessages, and contains the non view-specific logic for managing status messages for a request.  If you're using JSF, you get an instance of FacesMessages when you inject the component which contains some view-specific stuff for rendering the messages in a JSF page.