Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can we and navigation rule dynamically?

 
Rajit Patel
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to add navigation rule on the fly...anybody can help???
 
sujit suncert
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look at this.
http://typo.ars-subtilior.com/articles/2007/01/24/how-to-make-jsf-navigation-rules-more-dynamic

is this helpful?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65105
89
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"sujit sun certified", please check your private messages for an important administrative matter.
 
Rajit Patel
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No man..its not helpful..
 
a phil
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well folks,

I think you can configure navigation not only through face-config.xml, but also you can use the FacesContext.getCurrentInstance().getApplication().getNavigationHangler()... this will give you the current NavigationHandler object. Using this object, you can play with the navigation. (Please refer to the jsf docs as the above sequence may not be the right one).

Please hollar if you got better solutions... Gud luck !
 
Amit Ghorpade
Bartender
Posts: 2854
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"sujit suncert" please check your private messages for an important administrative matter again.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic