Package org.apache.tapestry

Examples of org.apache.tapestry.PageNotFoundException


            flowState = getFlowManagement().getFlowState(flowId);
        }
        if ( flowState == null && isNotBlank(flowType)) {

            if(!getFlowManager().isFlowDefined(flowType)) {
                renderError(writer, flowType+": no such flow type", renderResult, null, new PageNotFoundException(flowType));
                return null;
            }

            if (USE_CURRENT.equals(flowId)) {
                flowState = getFlowManagement().getFirstFlowStateByType(flowType);
View Full Code Here


    protected void renderHtml(FlowState flowState) {
        String page = flowState.getCurrentPage();
        // page should always be not null - if that's not the case, then
        // check the pageName attribute of flow definitions in the xml files
        if (page == null) {
            throw new PageNotFoundException("/missing-page","pageName not defined for flow " + flowState.getFlowTypeName());
        }
        FlowWebUtils.activatePageIfNotNull(null, page, flowState);
    }
View Full Code Here

TOP

Related Classes of org.apache.tapestry.PageNotFoundException

Copyright © 2018 www.massapicom. 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.