Get your CodeRanch badge!*
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 Java 8 in Action this week in the Java 8 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Navigation case with page often used
 
Similar Threads
managing Faces-config in jSF ...please explain.
(servlet) downloading a dynamically generated file
Navigation Problem
jsf newbie, navigation not working
commandLink param problem