private void doAfterEnterFlow(FacesContext context, Flow flow, Map<String, Object> outboundParameters) { getFacesFlowProvider(context).doAfterEnterFlow(context, flow); if (outboundParameters != null) { for (Map.Entry<String, Parameter> entry : flow.getInboundParameters().entrySet()) { Parameter parameter = entry.getValue(); if (parameter.getValue() != null && outboundParameters.containsKey(entry.getKey())) { parameter.getValue().setValue(context.getELContext(), outboundParameters.get(entry.getKey())); } } } if (flow.getInitializer() != null) { flow.getInitializer().invoke(context.getELContext(), null); } }
return false; if (this.initializer != other.getInitializer() && (this.initializer == null || !this.initializer.equals(other.getInitializer()))) { return false;
return false; if (this.initializer != other.getInitializer() && (this.initializer == null || !this.initializer.equals(other.getInitializer()))) { return false;
return false; if (this.initializer != other.getInitializer() && (this.initializer == null || !this.initializer.equals(other.getInitializer()))) { return false;
return false; if (this.initializer != other.getInitializer() && (this.initializer == null || !this.initializer.equals(other.getInitializer()))) { return false;
private void pushFlow(FacesContext context, Flow toPush, String lastDisplayedViewId, Map<String, Object> evaluatedParams) { FlowDeque<Flow> flowStack = getFlowStack(context); flowStack.addFirst(toPush, lastDisplayedViewId); FlowCDIContext.flowEntered(); assignInboundParameters(context, toPush, evaluatedParams); MethodExpression me = toPush.getInitializer(); if (null != me) { me.invoke(context.getELContext(), null); } forceSessionUpdateForFlowStack(context, flowStack); }
private void pushFlow(FacesContext context, Flow toPush, String lastDisplayedViewId, Map<String, Object> evaluatedParams) { FlowDeque<Flow> flowStack = getFlowStack(context); flowStack.addFirst(toPush, lastDisplayedViewId); FlowCDIContext.flowEntered(); assignInboundParameters(context, toPush, evaluatedParams); MethodExpression me = toPush.getInitializer(); if (null != me) { me.invoke(context.getELContext(), null); } forceSessionUpdateForFlowStack(context, flowStack); }
private void pushFlow(FacesContext context, Flow toPush, String lastDisplayedViewId, Map<String, Object> evaluatedParams) { FlowDeque<Flow> flowStack = getFlowStack(context); flowStack.addFirst(toPush, lastDisplayedViewId); FlowCDIContext.flowEntered(); assignInboundParameters(context, toPush, evaluatedParams); MethodExpression me = toPush.getInitializer(); if (null != me) { me.invoke(context.getELContext(), null); } forceSessionUpdateForFlowStack(context, flowStack); }
private void pushFlow(FacesContext context, Flow toPush, String lastDisplayedViewId, Map<String, Object> evaluatedParams) { FlowDeque<Flow> flowStack = getFlowStack(context); flowStack.addFirst(toPush, lastDisplayedViewId); FlowCDIContext.flowEntered(); assignInboundParameters(context, toPush, evaluatedParams); MethodExpression me = toPush.getInitializer(); if (null != me) { me.invoke(context.getELContext(), null); } forceSessionUpdateForFlowStack(context, flowStack); }