This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSF and the fly likes Navigation case with page often used Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Navigation case with page often used" Watch "Navigation case with page often used" New topic
Author

Navigation case with page often used

Tony David
Greenhorn

Joined: Mar 19, 2012
Posts: 15
Hi everybody,

I have a question regarding JSF navigation, I am looking for a process to improve it for my following specific case :

I have a page address.xhtml to fill users addresses in my application. Such a page can be used/called from several other pages of my application.
So I was wondering if there is no better way to manage the navigation from this page instead of using the faces-config.

When I validate my address form, I want to return on the page caller. With regular JSF navigation, I should manage an entry in the faces-config for each page caller :



this can be heavy, so I try to find another way to navigate from my address page.

I have overridden the navigation handler to catch each navigation cases and store them in a stack.
With that I have the navigation history, so I am looking for a way to force/ to trigger the navigation process with the desired historic case.

I hope it's clear, thanks for your answers.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Navigation case with page often used
 
Similar Threads
commandLink param problem
jsf newbie, navigation not working
(servlet) downloading a dynamically generated file
Navigation Problem
managing Faces-config in jSF ...please explain.