Using the NavigationHandler Class we can programmatically navigate to a different activity based on an action within an ADF Task Flow. Sample code below:
public void navBasedOnAction(String action){
NavigationHandler navHndlr = FacesContext.getCurrentInstance().getApplication().getNavigationHandler();
navHndlr.handleNavigation(FacesContext.getCurrentInstance(), null , "finish");
}
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment