Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes JSF and the fly likes Obtaining Navigation via facesContext at Runtime Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Obtaining Navigation via facesContext at Runtime " Watch "Obtaining Navigation via facesContext at Runtime " New topic
Author

Obtaining Navigation via facesContext at Runtime

Abiodun Adisa
Ranch Hand

Joined: Jan 17, 2002
Posts: 495
Lets say in my FacesConfig.xml file i have this disclaration in my faces-config.xml


Please how do i obtain the to-view-id via FacesContext and even modify it at runtime
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Obtaining Navigation via facesContext at Runtime
 
It's not a secret anymore!