Stated another way:  If a user bookmarks a JSF page that is in the middle of 
page sequence, what
is the best way to redirect the user to the first page in the sequence?

Mike


--- Mike Duffy <[EMAIL PROTECTED]> wrote:

> Assume page_B.jsf depends on page_A.jsf.
> 
> The backing bean for page_B.jsf has request scope.  The backing bean for 
> page_A.jsf has session
> scope.
> 
> In the constructor for the backing bean for page_B.jsf a check is made for 
> the backing bean for
> page_A.jsf.
> 
> If the user has first gone to page_A.jsf and made the selections, all is 
> well. However, if the
> user bookmarks page_B.jsf, the backing bean for page_A.jsf is not found and a 
> null pointer is
> thrown.
> 
> I know that Seam and the Spring webflow address these issues; however, as a 
> simple stopgap, is
> it
> possible to redirect to a page from the constructor of a backing bean; or is 
> there a better way
> to
> do this?
> 
> Thx.
> 
> Mike
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to