Examples of transition()


Examples of javax.faces.flow.FlowHandler.transition()

                                        navCase.getFromOutcome());
                                }
                            }
                            if (targetFlow != null)
                            {
                                flowHandler.transition(context,
                                    currentFlow, targetFlow, outboundCallNode, context.getViewRoot().getViewId());
                                startNodeId = targetFlow.getStartNodeId();
                            }
                            else
                            {
View Full Code Here

Examples of javax.faces.flow.FlowHandler.transition()

                    //Call transitions.
                    for (int j = 0; j < targetFlows.size(); j++)
                    {
                        Flow sourceFlow = sourceFlows.get(j);
                        Flow targetFlow = targetFlows.get(j);
                        flowHandler.transition(context,
                            sourceFlow,
                            targetFlow, null, context.getViewRoot().getViewId());
                       
                    }
                }
View Full Code Here

Examples of javax.faces.flow.FlowHandler.transition()

                    {
                        Flow baseReturnFlow = flowHandler.getCurrentFlow();
                        if (!(baseReturnFlow.getDefiningDocumentId().equals(targetFlow.getDefiningDocumentId()) &&
                             baseReturnFlow.getId().equals(targetFlow.getId())))
                        {
                            flowHandler.transition(context,
                                baseReturnFlow, targetFlow, outboundCallNode, context.getViewRoot().getViewId());
                        }
                        flowHandler.pushReturnMode(context);
                        Flow previousFlow = flowHandler.getCurrentFlow(context);
                        flowHandler.popReturnMode(context);
View Full Code Here

Examples of javax.faces.flow.FlowHandler.transition()

                                                            caseStruct.viewId);
                updateRenderTargets(context, caseStruct.viewId);
                context.setViewRoot(newRoot);
                FlowHandler flowHandler = context.getApplication().getFlowHandler();
                if (null != flowHandler && !isDidTransition(context)) {
                    flowHandler.transition(context,
                            caseStruct.currentFlow, caseStruct.newFlow,
                            caseStruct.facesFlowCallNode, caseStruct.viewId);
                    setDidTransition(context, false);
                }
                if (logger.isLoggable(Level.FINE)) {
View Full Code Here

Examples of javax.faces.flow.FlowHandler.transition()

                            // must enter the new flow.  To preserve the intergity
                            // of the state machine, we enter the flow now, and mark
                            // that we must not enter it later.
                            try {
                                setDidTransition(context, true);
                                flowHandler.transition(context, currentFlow, newFlow, null, startNodeId);
                                result = getViewId(context, fromAction, startNodeId, toFlowDocumentId);
                            }
                            finally {
                                if (null == result) {
                                    // If we did not find a CaseStruct, preserve the
View Full Code Here

Examples of javax.faces.flow.FlowHandler.transition()

                            finally {
                                if (null == result) {
                                    // If we did not find a CaseStruct, preserve the
                                    // integrity of the state machine by transitioning
                                    // out of the flow.
                                    flowHandler.transition(context, newFlow, currentFlow, null, outcome);
                                    setDidTransition(context, false);
                                }
                            }
                        }
                    }
View Full Code Here

Examples of javax.faces.flow.FlowHandler.transition()

                    // must enter the new flow.  To preserve the intergity
                    // of the state machine, we enter the flow now, and mark
                    // that we must not enter it later.
                    try {
                        setDidTransition(context, true);
                        flowHandler.transition(context, null, newFlow, null, startNodeId);
                        result = getViewId(context, fromAction, startNodeId, toFlowDocumentId);
                    }
                    finally {
                        if (null == result) {
                            // If we did not find a CaseStruct, preserve the
View Full Code Here

Examples of javax.faces.flow.FlowHandler.transition()

                    finally {
                        if (null == result) {
                            // If we did not find a CaseStruct, preserve the
                            // integrity of the state machine by transitioning
                            // out of the flow.
                            flowHandler.transition(context, newFlow, null, null, outcome);
                            setDidTransition(context, false);
                        }
                    }
                } else if (!outcome.equals(startNodeId) && null != result.navCase) {
                    ((MutableNavigationCase)result.navCase).setFromOutcome(outcome);
View Full Code Here

Examples of javax.faces.flow.FlowHandler.transition()

                    //Call transitions.
                    for (int j = 0; j < targetFlows.size(); j++)
                    {
                        Flow sourceFlow = sourceFlows.get(j);
                        Flow targetFlow = targetFlows.get(j);
                        flowHandler.transition(context,
                            sourceFlow,
                            targetFlow, null, context.getViewRoot().getViewId());
                       
                    }
                }
View Full Code Here

Examples of javax.faces.flow.FlowHandler.transition()

                    {
                        Flow baseReturnFlow = flowHandler.getCurrentFlow();
                        if (!(baseReturnFlow.getDefiningDocumentId().equals(targetFlow.getDefiningDocumentId()) &&
                             baseReturnFlow.getId().equals(targetFlow.getId())))
                        {
                            flowHandler.transition(context,
                                baseReturnFlow, targetFlow, outboundCallNode, context.getViewRoot().getViewId());
                        }
                        flowHandler.pushReturnMode(context);
                        Flow previousFlow = flowHandler.getCurrentFlow(context);
                        flowHandler.popReturnMode(context);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.