File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Obtaining Navigation via facesContext at Runtime
Joined: Jan 17, 2002
Oct 13, 2008 08:25:00
Lets say in my FacesConfig.xml file i have this disclaration in my faces-config.xml
<navigation-rule> <from-view-id>/index.xhtml</from-view-id> <navigation-case> <from-outcome>success</from-outcome> <to-view-id>/hello2.xhtml</to-view-id> </navigation-case> </navigation-rule>
Please how do i obtain the to-view-id via
and even modify it at runtime
It is sorta covered in the
JavaRanch Style Guide
subject: Obtaining Navigation via facesContext at Runtime
<t:savestate To Preserve State In Request Scope
FacesContext is null inside managed bean
"Document is empty" error, what does it mean?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014