Re: redirect / and FacesMessage problem

2007-04-25 Thread Mario Ivankovits
2:40 AM To: MyFaces Discussion Subject: Re: redirect / and FacesMessage problem Hi! I was checking out the RedirectTracker documentation. Is there any installation/usage documents other than the javadoc? To make use of the RedirectTracker you have to: * add the myfaces

Re: redirect / and FacesMessage problem

2007-04-24 Thread Mario Ivankovits
Hi! I was checking out the RedirectTracker documentation. Is there any installation/usage documents other than the javadoc? To make use of the RedirectTracker you have to: * add the myfaces sandbox to your project * configure the init paramter org.apache.myfaces.redirectTracker.POLICY in

RE: redirect / and FacesMessage problem

2007-04-24 Thread Garner, Shawn
So I don't need to register a PhaseListener or anything? Shawn -Original Message- From: Mario Ivankovits [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 24, 2007 2:40 AM To: MyFaces Discussion Subject: Re: redirect / and FacesMessage problem Hi! I was checking out the RedirectTracker

redirect / and FacesMessage problem

2007-04-23 Thread Steve Torrefranca
t:messages / suddenly stopped working after I used redirect/. How do I keep FacesMessage's state if I use redirect? Thank you. -Steve

Re: redirect / and FacesMessage problem

2007-04-23 Thread Andrew Robinson
That is expected. Best way I know to keep them around is to use Seam and follow the instructions on using the seam redirect filter. On 4/23/07, Steve Torrefranca [EMAIL PROTECTED] wrote: t:messages / suddenly stopped working after I used redirect/. How do I keep FacesMessage's state if I use

Re: redirect / and FacesMessage problem

2007-04-23 Thread Mike Kienenberger
There's also the Tomahawk sandbox RedirectTracker if you don't want a Seam dependency. Unfortunately, it's pretty light on documention right now. Try here: http://issues.apache.org/jira/browse/TOMAHAWK-503 http://mail-archives.apache.org/mod_mbox/myfaces-dev/200606.mbox/[EMAIL PROTECTED] On

Re: redirect / and FacesMessage problem

2007-04-23 Thread Simon Kitching
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

RE: redirect / and FacesMessage problem

2007-04-23 Thread Garner, Shawn
. 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

Re: redirect / and FacesMessage problem

2007-04-23 Thread Steve Torrefranca
Simon Kitching wrote: What scenario do you have that needs to preserve messages on navigation via redirect? we are rewriting an old app. the problem with forward, users complain, is that the name of the page (url) does not change and is misleading. the user has to go through a series of

Re: redirect / and FacesMessage problem

2007-04-23 Thread Mike Kienenberger
It's not necessarily all that wierd. You might process a credit card on one page and display messages on the following transaction completed page if there were any informational or warning-level errors. On 4/23/07, Steve Torrefranca [EMAIL PROTECTED] wrote: Simon Kitching wrote: What

Re: redirect / and FacesMessage problem

2007-04-23 Thread Steve Torrefranca
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

RE: redirect / and FacesMessage problem

2007-04-23 Thread Garner, Shawn
: Re: redirect / and FacesMessage problem i have thought of using a validator. the only problem is that if the value is null, the validator isn't called. the message needs to warn/remind user (does not give an error and let the user continue) that he/she has left these fields blank. i cn't use

Re: redirect / and FacesMessage problem

2007-04-23 Thread Simon Kitching
Steve Torrefranca wrote: Simon Kitching wrote: What scenario do you have that needs to preserve messages on navigation via redirect? we are rewriting an old app. the problem with forward, users complain, is that the name of the page (url) does not change and is misleading. the user has

Re: redirect / and FacesMessage problem

2007-04-23 Thread Mike Kienenberger
Simon, I think that's what the redirect tracker in the sandbox does/is (phase listener). It also handles t:saveState if I recall. On 4/23/07, Simon Kitching [EMAIL PROTECTED] wrote: Steve Torrefranca wrote: Simon Kitching wrote: What scenario do you have that needs to preserve messages on

Re: redirect / and FacesMessage problem

2007-04-23 Thread Steve Torrefranca
Thanks guys! I guess it's high time for me to put sandbox in our project -Steve

RE: redirect / and FacesMessage problem

2007-04-23 Thread Garner, Shawn
/ and FacesMessage problem Thanks guys! I guess it's high time for me to put sandbox in our project -Steve

Re: redirect / and FacesMessage problem

2007-04-23 Thread Josué Alcalde González
El lun, 23-04-2007 a las 11:57 -0700, Steve Torrefranca escribió: Take a look at: http://jsffaq.com/Wiki.jsp?ptitle=How+to+show+Faces+Message+on+the+Next +Page%3Fpage=HowToShowFacesMessageOnTheNextPage t:messages / suddenly stopped working after I used redirect/. How do I keep FacesMessage's