Skip to content

Instantly share code, notes, and snippets.

@authsec
Created July 17, 2016 11:23
Show Gist options
  • Save authsec/c42b23e5f99e3a3c3ec640dc10928bb6 to your computer and use it in GitHub Desktop.
Save authsec/c42b23e5f99e3a3c3ec640dc10928bb6 to your computer and use it in GitHub Desktop.
Start a Faces Flow Programmatically
FacesContext context = FacesContext.getCurrentInstance();
FlowHandler handler = context.getApplication().getFlowHandler();
handler.transition(context, null, handler.getFlow(context, "", FLOW_NAME), null, "");
return FLOW_NAME;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment