Package org.apache.cocoon.environment

Examples of org.apache.cocoon.environment.Environment.changeContext()


        // Get the processor that should process this request
        // (see https://issues.apache.org/jira/browse/COCOON-1990).
        ConcreteTreeProcessor processor = this;
        if (uri.startsWith("cocoon://")) {
            processor = ((TreeProcessor)getRootProcessor()).concreteProcessor;
            newEnv.changeContext("", ((TreeProcessor)getRootProcessor()).source.getURI());
        }

        // Process the redirect
        // No more reset since with TreeProcessorRedirector, we need to pop values from the redirect location
        // context.reset();
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.