Package org.apache.lenya.cms.publication.templating

Examples of org.apache.lenya.cms.publication.templating.ExistingSourceResolver


        return source;
    }

    protected VisitingSourceResolver getSourceVisitor() {
        return new ExistingSourceResolver();
    }
View Full Code Here


        return source;
    }

    protected VisitingSourceResolver getSourceVisitor() {
        return new ExistingSourceResolver();
    }
View Full Code Here

                if (getLogger().isDebugEnabled()) {
                    getLogger().debug("Publication resolved from request: [" + publication.getId()
                            + "]");
                }
            }
            ExistingSourceResolver resolver = new ExistingSourceResolver();
            templateManager.visit(publication, targetUri, resolver);
            resolvedUri = resolver.getURI();

        } catch (final Exception e) {
            String message = "Resolving path [" + name + "] failed: ";
            getLogger().error(message, e);
            throw new ConfigurationException(message, e);
View Full Code Here

            URLInformation info = new URLInformation(webappUrl);
            String publicationId = info.getPublicationId();
           
            Publication pub = factory.getPublication(publicationId, contextPath);
            if (pub.exists()) {
                ExistingSourceResolver resolver = new ExistingSourceResolver();
                templateManager.visit(pub, path, resolver);
                resolvedUri = resolver.getURI();
            }

            if (getLogger().isDebugEnabled()) {
                getLogger().debug("Resolved URI:  [" + resolvedUri + "]");
            }
View Full Code Here

TOP

Related Classes of org.apache.lenya.cms.publication.templating.ExistingSourceResolver

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.