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

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


        try {
            PublicationTemplateManager templateManager = (PublicationTemplateManager) this._manager
                    .lookup(PublicationTemplateManager.ROLE);
            PageEnvelope envelope = getEnvelope(objectModel, name);

            ExistingUsecaseResolver resolver = new ExistingUsecaseResolver(name);
            templateManager.visit(envelope.getPublication(), resolver);

            Publication publication = resolver.getPublication();
            if (publication != null) {
                resolvedSitemapUri = PublicationTemplateManagerImpl.getBaseURI(publication) + "/"
                        + USECASE_SITEMAP;
            } else {
                resolvedSitemapUri = "context://lenya/" + USECASE_SITEMAP;
View Full Code Here

TOP

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

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.