Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Navigation case with page often used

Tony David
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic