aspose file tools*
The moose likes JSF and the fly likes Can we and navigation rule dynamically? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Can we and navigation rule dynamically?" Watch "Can we and navigation rule dynamically?" New topic
Author

Can we and navigation rule dynamically?

Rajit Patel
Greenhorn

Joined: Aug 01, 2008
Posts: 9
I want to add navigation rule on the fly...anybody can help???
sujit suncert
Greenhorn

Joined: Nov 04, 2008
Posts: 6
Look at this.
http://typo.ars-subtilior.com/articles/2007/01/24/how-to-make-jsf-navigation-rules-more-dynamic

is this helpful?


-sujit(Never lose hope)
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61658
    
  67

"sujit sun certified", please check your private messages for an important administrative matter.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Rajit Patel
Greenhorn

Joined: Aug 01, 2008
Posts: 9
No man..its not helpful..
a phil
Greenhorn

Joined: Nov 11, 2008
Posts: 9
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

Joined: Jun 06, 2007
Posts: 2716
    
    6

"sujit suncert" please check your private messages for an important administrative matter again.


SCJP, SCWCD.
|Asking Good Questions|
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can we and navigation rule dynamically?