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
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
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
t:messages / suddenly stopped working after I used redirect/. How
do I keep FacesMessage's state if I use redirect?
Thank you.
-Steve
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
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
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
.
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
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
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
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
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
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
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
Thanks guys! I guess it's high time for me to put sandbox in our project
-Steve
/ and FacesMessage problem
Thanks guys! I guess it's high time for me to put sandbox in our
project
-Steve
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
17 matches
Mail list logo