5 Replies Latest reply on May 28, 2009 3:16 AM by Kai Werther

    How to keep error messages during redirect

    Kai Werther Newbie

      Hello,

      How can i keep error messages during redirect?

      Let me explain what i want to do:

      I have a button which saves the form data.

      When everything works fine i redirect to a new page with a overview over the saved data.
      I also want to put an messages (used facesContext.addMessage(componentId, FacesMessage)) that sais that the save was successfully.

      Without redirect the message get displayed well but with the redirect the message seems to be lost.

      JSF 1.2
      RichFaces 3.3.1

      Hope somebody knows a solution ...

      Best Regards,

      Kai Werther