Here is the sample code which can be used to programmatically navigating to another page in jsf or adf
FacesContext fctx = FacesContext.getCurrentInstance();
Application application = fctx.getApplication();
NavigationHandler navHandler = application.getNavigationHandler();
navHandler.handleNavigation(fctx,null, "name of navigation case");
No comments:
Post a Comment