private void assignInboundParameters(FacesContext context, Flow calledFlow, Map<String, Object> evaluatedParams) { // Now the new flow is active, it's time to evaluate the inbound // parameters. if (null != evaluatedParams) { Map<String, Parameter> inboundParameters = calledFlow.getInboundParameters(); ELContext elContext = context.getELContext(); String curName; ValueExpression toSet; for (Map.Entry<String, Object> curOutbound : evaluatedParams.entrySet()) { curName = curOutbound.getKey(); assert(inboundParameters.containsKey(curName)); toSet = inboundParameters.get(curName).getValue(); toSet.setValue(elContext, curOutbound.getValue()); } } }
private void assignInboundParameters(FacesContext context, Flow calledFlow, Map<String, Object> evaluatedParams) { // Now the new flow is active, it's time to evaluate the inbound // parameters. if (null != evaluatedParams) { Map<String, Parameter> inboundParameters = calledFlow.getInboundParameters(); ELContext elContext = context.getELContext(); String curName; ValueExpression toSet; for (Map.Entry<String, Object> curOutbound : evaluatedParams.entrySet()) { curName = curOutbound.getKey(); assert(inboundParameters.containsKey(curName)); toSet = inboundParameters.get(curName).getValue(); toSet.setValue(elContext, curOutbound.getValue()); } } }
private void assignInboundParameters(FacesContext context, Flow calledFlow, Map<String, Object> evaluatedParams) { // Now the new flow is active, it's time to evaluate the inbound // parameters. if (null != evaluatedParams) { Map<String, Parameter> inboundParameters = calledFlow.getInboundParameters(); ELContext elContext = context.getELContext(); String curName; ValueExpression toSet; for (Map.Entry<String, Object> curOutbound : evaluatedParams.entrySet()) { curName = curOutbound.getKey(); assert(inboundParameters.containsKey(curName)); toSet = inboundParameters.get(curName).getValue(); toSet.setValue(elContext, curOutbound.getValue()); } } }
private void assignInboundParameters(FacesContext context, Flow calledFlow, Map<String, Object> evaluatedParams) { // Now the new flow is active, it's time to evaluate the inbound // parameters. if (null != evaluatedParams) { Map<String, Parameter> inboundParameters = calledFlow.getInboundParameters(); ELContext elContext = context.getELContext(); String curName; ValueExpression toSet; for (Map.Entry<String, Object> curOutbound : evaluatedParams.entrySet()) { curName = curOutbound.getKey(); assert(inboundParameters.containsKey(curName)); toSet = inboundParameters.get(curName).getValue(); toSet.setValue(elContext, curOutbound.getValue()); } } }
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); } }
if (null != outboundCallNode) { Map<String, Parameter> outboundParameters = outboundCallNode.getOutboundParameters(); Map<String, Parameter> inboundParameters = targetFlow.getInboundParameters();
if (null != outboundCallNode) { Map<String, Parameter> outboundParameters = outboundCallNode.getOutboundParameters(); Map<String, Parameter> inboundParameters = targetFlow.getInboundParameters();
if (null != outboundCallNode) { Map<String, Parameter> outboundParameters = outboundCallNode.getOutboundParameters(); Map<String, Parameter> inboundParameters = targetFlow.getInboundParameters();
if (null != outboundCallNode) { Map<String, Parameter> outboundParameters = outboundCallNode.getOutboundParameters(); Map<String, Parameter> inboundParameters = targetFlow.getInboundParameters();