@Override public FlowHandler createFlowHandler(FacesContext context) { return getWrapped().createFlowHandler(context); }
private String resolveStartNodeOutcome(Flow targetFlow) { String outcomeToGo; if (targetFlow.getStartNodeId() == null) { // In faces-config javadoc says: // "If there is no <start-node> element declared, it // is assumed to be <flowName>.xhtml." outcomeToGo = "/" + targetFlow.getId()+ "/" + targetFlow.getId() + ".xhtml"; } else { outcomeToGo = targetFlow.getStartNodeId(); } return outcomeToGo; }
/** * <p class="changed_added_2_2">Convenience overload that calls {@link FacesContext#getCurrentInstance()} * and then calls through to {@link #getCurrentFlow(javax.faces.context.FacesContext)}. </p> * * @return the current {@code Flow} or {@code null} if no flow is active * * @since 2.2 */ public Flow getCurrentFlow() { return getCurrentFlow(FacesContext.getCurrentInstance()); }
@Named @FlowScoped(value = "bounded-task-flow", definingDocumentId = "flow01") public class FlowBean01 implements Serializable { public FlowBean01() { } public String getName() { return "flow01 name"; } public String getReturnValue() { return "/return1"; } }
@Override public FlowHandler createFlowHandler(FacesContext context) { return getWrapped().createFlowHandler(context); }
/** * <p class="changed_added_2_2">Convenience overload that calls {@link FacesContext#getCurrentInstance()} * and then calls through to {@link #getCurrentFlow(javax.faces.context.FacesContext)}. </p> * * @return the current {@code Flow} or {@code null} if no flow is active * * @since 2.2 */ public Flow getCurrentFlow() { return getCurrentFlow(FacesContext.getCurrentInstance()); }
@Named @FlowScoped(value = "bounded-task-flow", definingDocumentId = "flow02") public class FlowBean02 implements Serializable { public FlowBean02() { } public String getName() { return "flow02 name"; } public String getReturnValue() { return "/return1"; } }
public FlowHandler createFlowHandler(FacesContext context) { return getWrapped().createFlowHandler(context); }
/** * <p class="changed_added_2_2">Convenience overload that calls {@link FacesContext#getCurrentInstance()} * and then calls through to {@link #getCurrentFlow(javax.faces.context.FacesContext)}. </p> * * @return the current {@code Flow} or {@code null} if no flow is active * * @since 2.2 */ public Flow getCurrentFlow() { return getCurrentFlow(FacesContext.getCurrentInstance()); }
@Override public FlowHandler createFlowHandler(FacesContext context) { return getWrapped().createFlowHandler(context); }
/** * <p class="changed_added_2_2">Convenience overload that calls {@link FacesContext#getCurrentInstance()} * and then calls through to {@link #getCurrentFlow(javax.faces.context.FacesContext)}. </p> * * @return the current {@code Flow} or {@code null} if no flow is active * * @since 2.2 */ public Flow getCurrentFlow() { return getCurrentFlow(FacesContext.getCurrentInstance()); }
@Override public FlowHandler createFlowHandler(FacesContext context) { return getWrapped().createFlowHandler(context); }
/** * <p class="changed_added_2_2">Convenience overload that calls {@link FacesContext#getCurrentInstance()} * and then calls through to {@link #getCurrentFlow(javax.faces.context.FacesContext)}. </p> * * @since 2.2 */ public Flow getCurrentFlow() { return getCurrentFlow(FacesContext.getCurrentInstance()); }
@Override public FlowHandler createFlowHandler(FacesContext context) { return getWrapped().createFlowHandler(context); }
public Flow getCurrentFlow() { return getCurrentFlow(FacesContext.getCurrentInstance()); }
@Override public FlowHandler createFlowHandler(FacesContext context) { return getWrapped().createFlowHandler(context); }
/** * <p class="changed_added_2_2">Convenience overload that calls {@link FacesContext#getCurrentInstance()} * and then calls through to {@link #getCurrentFlow(javax.faces.context.FacesContext)}. </p> * * @return the current {@code Flow} or {@code null} if no flow is active * * @since 2.2 */ public Flow getCurrentFlow() { return getCurrentFlow(FacesContext.getCurrentInstance()); }
@Override public FlowHandler createFlowHandler(FacesContext context) { return getWrapped().createFlowHandler(context); }
/** * <p class="changed_added_2_2">Convenience overload that calls {@link FacesContext#getCurrentInstance()} * and then calls through to {@link #getCurrentFlow(javax.faces.context.FacesContext)}. </p> * * @return the current {@code Flow} or {@code null} if no flow is active * * @since 2.2 */ public Flow getCurrentFlow() { return getCurrentFlow(FacesContext.getCurrentInstance()); }
@Override public FlowHandler createFlowHandler(FacesContext context) { return getWrapped().createFlowHandler(context); }