Examples of ViewNodeImpl


Examples of com.sun.faces.flow.ViewNodeImpl

    public ViewBuilderImpl(FlowBuilderImpl root, String viewNodeId, String vdlDocumentId) {
        this.root = root;
       
        List<ViewNode> viewNodes = root._getFlow()._getViews();
        viewNode = new ViewNodeImpl(viewNodeId, vdlDocumentId);
        viewNodes.add(viewNode);
    }
View Full Code Here

Examples of org.apache.myfaces.flow.ViewNodeImpl

                flow.putSwitch(node.getId(), node);
            }
           
            for (FacesFlowView view : flowDefinition.getViewList())
            {
                ViewNodeImpl node = new ViewNodeImpl(view.getId(), view.getVdlDocument());
                flow.addView(node);
            }

            for (FacesFlowReturn flowReturn : flowDefinition.getReturnList())
            {
                ReturnNodeImpl node = new ReturnNodeImpl(flowReturn.getId());
                if (flowReturn.getNavigationCase() != null &&
                    !isEmptyString(flowReturn.getNavigationCase().getFromOutcome()))
                {
                    if (ELText.isLiteral(flowReturn.getNavigationCase().getFromOutcome()))
                    {
                        node.setFromOutcome(flowReturn.getNavigationCase().getFromOutcome());
                    }
                    else
                    {
                        node.setFromOutcome(
                            application.getExpressionFactory().createValueExpression(
                                facesContext.getELContext(), flowReturn.getNavigationCase().getFromOutcome(),
                                Object.class));
                    }
                }
                flow.putReturn(node.getId(), node);
            }
           
            flow.freeze();
           
            // Add the flow, so the config can be processed by the flow system and the
View Full Code Here

Examples of org.apache.myfaces.flow.ViewNodeImpl

                flow.putSwitch(node.getId(), node);
            }
           
            for (FacesFlowView view : flowDefinition.getViewList())
            {
                ViewNodeImpl node = new ViewNodeImpl(view.getId(), view.getVdlDocument());
                flow.addView(node);
            }

            for (FacesFlowReturn flowReturn : flowDefinition.getReturnList())
            {
                ReturnNodeImpl node = new ReturnNodeImpl(flowReturn.getId());
                if (flowReturn.getNavigationCase() != null &&
                    !isEmptyString(flowReturn.getNavigationCase().getFromOutcome()))
                {
                    if (ELText.isLiteral(flowReturn.getNavigationCase().getFromOutcome()))
                    {
                        node.setFromOutcome(flowReturn.getNavigationCase().getFromOutcome());
                    }
                    else
                    {
                        node.setFromOutcome(
                            application.getExpressionFactory().createValueExpression(
                                facesContext.getELContext(), flowReturn.getNavigationCase().getFromOutcome(),
                                Object.class));
                    }
                }
                flow.putReturn(node.getId(), node);
            }
           
            flow.freeze();
           
            // Add the flow, so the config can be processed by the flow system and the
View Full Code Here

Examples of org.apache.myfaces.flow.ViewNodeImpl

                flow.putSwitch(node.getId(), node);
            }
           
            for (FacesFlowView view : flowDefinition.getViewList())
            {
                ViewNodeImpl node = new ViewNodeImpl(view.getId(), view.getVdlDocument());
                flow.addView(node);
            }

            for (FacesFlowReturn flowReturn : flowDefinition.getReturnList())
            {
                ReturnNodeImpl node = new ReturnNodeImpl(flowReturn.getId());
                if (flowReturn.getNavigationCase() != null &&
                    !isEmptyString(flowReturn.getNavigationCase().getFromOutcome()))
                {
                    if (ELText.isLiteral(flowReturn.getNavigationCase().getFromOutcome()))
                    {
                        node.setFromOutcome(flowReturn.getNavigationCase().getFromOutcome());
                    }
                    else
                    {
                        node.setFromOutcome(
                            application.getExpressionFactory().createValueExpression(
                                facesContext.getELContext(), flowReturn.getNavigationCase().getFromOutcome(),
                                Object.class));
                    }
                }
                flow.putReturn(node.getId(), node);
            }
           
            flow.freeze();
           
            // Add the flow, so the config can be processed by the flow system and the
View Full Code Here

Examples of org.apache.myfaces.flow.ViewNodeImpl

                flow.putSwitch(node.getId(), node);
            }
           
            for (FacesFlowView view : flowDefinition.getViewList())
            {
                ViewNodeImpl node = new ViewNodeImpl(view.getId(), view.getVdlDocument());
                flow.addView(node);
            }

            for (FacesFlowReturn flowReturn : flowDefinition.getReturnList())
            {
                ReturnNodeImpl node = new ReturnNodeImpl(flowReturn.getId());
                if (flowReturn.getNavigationCase() != null &&
                    !isEmptyString(flowReturn.getNavigationCase().getFromOutcome()))
                {
                    if (ELText.isLiteral(flowReturn.getNavigationCase().getFromOutcome()))
                    {
                        node.setFromOutcome(flowReturn.getNavigationCase().getFromOutcome());
                    }
                    else
                    {
                        node.setFromOutcome(
                            application.getExpressionFactory().createValueExpression(
                                facesContext.getELContext(), flowReturn.getNavigationCase().getFromOutcome(),
                                Object.class));
                    }
                }
                flow.putReturn(node.getId(), node);
            }
           
            flow.freeze();
           
            // Add the flow, so the config can be processed by the flow system and the
View Full Code Here

Examples of org.apache.myfaces.flow.ViewNodeImpl

    private ViewNodeImpl _viewNode;
   
    public ViewBuilderImpl(FlowImpl facesFlow, String viewNodeId, String vdlDocumentId)
    {
        _facesFlow = facesFlow;
        _viewNode = new ViewNodeImpl(viewNodeId, vdlDocumentId);
        _facesFlow.addView(_viewNode);
    }
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.