Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Head First Android
this week in the
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-2015