myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Garner, Shawn" <>
Subject RE: <redirect /> and FacesMessage problem
Date Mon, 23 Apr 2007 20:11:06 GMT
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.

-----Original Message-----
From: Simon Kitching [] 
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?

View raw message