You can have application level messages and validation level messages.

If you create a message in your application method you would expect it
to display on the next page regardless of which page you navigate to.

This is in contrast to a validation message which it must pass the
validation phase.

Shawn
 
-----Original Message-----
From: Simon Kitching [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 23, 2007 3:04 PM
To: MyFaces Discussion
Subject: Re: <redirect /> and FacesMessage problem

Steve Torrefranca wrote:
> <t:messages /> suddenly stopped working after I used <redirect/>.  How

> do I keep FacesMessage's state if I use redirect?

Why would you want to?

If a page has error messages then navigation will not occur. If a page 
does not have error messages, then "losing them" on navigation is not a 
problem as there are none to lose.

What scenario do you have that needs to preserve messages on navigation 
via redirect?

Reply via email to