• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Navigation case with page often used

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Enjoy the full beauty of the english language. Embedded in this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic