myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nitin Deshmukh <deshmuk...@yahoo.com>
Subject Re: About phase listeners
Date Thu, 13 Mar 2008 14:49:08 GMT
Hello,

if you are using forward, then the request should not
be null, unless the new jsf page has <redirect/> in
the faces-navigation.xml.

usually this kind of redirect works in RENDER_RESPONSE
phase and do the forward in the beforePhase method.


--- Anton Palapeshkov <a_palapeshkov@yahoo.com> wrote:

> Hello I am junior in jsf life cycle and i have
> strange problem.In my application i use 3-4 phase
> listeners.When i start the application on every
> request these listeners are called .IN the first of
> them I use to make server side redirect (something
> like :request.getRequestDispatcher(
> "/sometThingjsf").forward(request, response); )
> everything here is OK but  when the phase listener
> after this is called the request there is already
> null.
> Do you have any idea how I can call the request in
> which 'afterPhase()'  method i make the
> redirect,last.
> I will be very glad if you help me !
> Greeting Anton
> 
> 
> 
> 
>      
>
____________________________________________________________________________________
> Looking for last minute shopping deals?  
> Find them fast with Yahoo! Search. 
http://tools.search.yahoo.com/newsearch/category.php?category=shopping



      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping

Mime
View raw message