Feeds:
Posts
Comments

Posts Tagged ‘taskflow’

Let’s say you want to call a a taskFlow activity, for example, a “back” activity, but declarative within your java code:

Navigation

Use the below code in a bean in order to call a task flow navigation within your ADF application:

 

import javax.faces.application.NavigationHandler;
import javax.faces.context.FacesContext;

....

NavigationHandler backHnd =
FacesContext.getCurrentInstance().getApplication().getNavigationHandler();
backHnd.handleNavigation(FacesContext.getCurrentInstance(), null,"back");

 

Good Luck!

Read Full Post »