Thanks Julian.

I’ve Still got one more question:

1.      I am using facelets and in facelets that method returns the name of
the page, which seems interesting, I need to somehow force a redirect to the
page returned and stored previously.  How can I force a redirect to a
specific page without using the traditional steps of returning an action
String and according to that action String and to the rules defined in
faces_config.xml let the faces Servlet do the forward.  Again, I want to do
an explicit forward from an action method to a specific page, how can I
accomplish this?

 

Regards,

JV 

 

  _____  

De: Julian Ray [mailto:[EMAIL PROTECTED] 
Enviado el: sábado, 25 de noviembre de 2006 5:18
Para: 'MyFaces Discussion'
Asunto: RE: navigation pages history...

 

Its easy to create one. Just use a session scoped bean and add a stack to
it. You can get the last view rendered using the following

 

return FacesContext.getCurrentInstance().getViewRoot().getViewId();

 

 

 

  _____  

From: Jorge Vásquez [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 24, 2006 9:09 PM
To: 'MyFaces Discussion'
Subject: navigation pages history...

Regards,

Is there a way to see the las accessed page that the user was at.  Moreover,
is there some sort of stack that keeps track of the last accessed pages by a
specific user inside a JSF application?

Thanks,

JV

 

Reply via email to