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
forwarding using handleNavigation method of NavigationHandler
Joined: Jun 05, 2006
Oct 20, 2008 00:39:00
I have the below code
FacesContext context = FacesContext.getCurrentInstance(); context.getApplication().getNavigationHandler().handleNavigation(context, null, name);
The problem is that it is neither doing a forward nor a redirect.
The url changes in the browser but not to the landing page but the page from which action was invoked.
How can I make the handleNavigation to forward to the other page.
SCJP,SCWCD, Into ATG now!
subject: forwarding using handleNavigation method of NavigationHandler
handling navigation from validator
JSF faces-config.xml overwrite
Changing Views with navigation handler in java and sending params to the changed view
Navigating to a screen from the backing bean method
Going back to previous page
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013