Examples of PortalManager


Examples of org.apache.cocoon.webapps.portal.components.PortalManager

extends ServiceableGenerator {

    public void generate()
    throws IOException, SAXException, ProcessingException {

        PortalManager portal = null;
        try {
            portal = (PortalManager) this.manager.lookup(PortalManager.ROLE);
            this.xmlConsumer.startDocument();

            Request request = ObjectModelHelper.getRequest(this.objectModel);
            if (request.getSession(false) != null) {
                if (this.source == null
                    || this.source.equals("")
                    || this.source.equals("user")) {
                    portal.showPortal(this.xmlConsumer, true, false);
                } else {
                    portal.showAdminConf(this.xmlConsumer);
                }
            }

            this.xmlConsumer.endDocument();
        } catch (ServiceException ce) {
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.