Package org.infoglue.deliver.portal

Examples of org.infoglue.deliver.portal.PortalController


    // -- check if the portal is active
        String portalEnabled = CmsPropertyHandler.getEnablePortal() ;
        boolean active = ((portalEnabled != null) && portalEnabled.equals("true"));
    if (active)
    {
        PortalController pController = new PortalController(getRequest(), getResponse(), getTemplateController().getDeliveryContext());
        context.put(PortalController.NAME, pController);
        if(logger.isInfoEnabled())
        {
          logger.info("PortalController.NAME:" + PortalController.NAME);
          logger.info("pController:" + pController);
View Full Code Here


        }
    }

      final ScriptController scriptController = (ScriptController)params.get("scriptLogic");
      final TemplateController templateController = (TemplateController)params.get("templateLogic");
      final PortalController portletController = (PortalController)params.get("portalLogic");
      final Map<String,Object> model = (Map<String,Object>)params.get("model");
      if(templateController != null)
      {
        final DeliveryContext deliveryContext = templateController.getDeliveryContext();
      //logger.info("renderJSP: ClassLoader in context for thread:" + Thread.currentThread().getId() + ":" + Thread.currentThread().getContextClassLoader().getClass().getName());
View Full Code Here

        }         
      }
    }
   
    TemplateController templateController = (TemplateController)params.get("templateLogic");
    PortalController portletController = (PortalController)params.get("portalLogic");
    DeliveryContext deliveryContext = templateController.getDeliveryContext();
      RequestDispatcher dispatch = templateController.getHttpServletRequest().getRequestDispatcher("/jsp/Template_" + hashCode + ".jsp");
    templateController.getHttpServletRequest().setAttribute("org.infoglue.cms.deliver.templateLogic", templateController);
    templateController.getHttpServletRequest().setAttribute("org.infoglue.cms.deliver.portalLogic", portletController);
      templateController.getHttpServletRequest().setAttribute("org.infoglue.cms.deliver.classLoader", Thread.currentThread().getContextClassLoader());
View Full Code Here

        }
    }

      final ScriptController scriptController = (ScriptController)params.get("scriptLogic");
      final TemplateController templateController = (TemplateController)params.get("templateLogic");
      final PortalController portletController = (PortalController)params.get("portalLogic");
      final Map<String,Object> model = (Map<String,Object>)params.get("model");

      byte[] result = null;
      if(templateController != null)
      {
View Full Code Here

   * @return the portal controller.
   * @throws JspTagException if the portlet controller wasn't found.
   */
  protected PortalController getPortalController() throws JspTagException
  {
    PortalController portletController;
     
      try
    {
        portletController = (PortalController) this.pageContext.getRequest().getAttribute("org.infoglue.cms.deliver.portalLogic");
      if(portletController == null)
View Full Code Here

TOP

Related Classes of org.infoglue.deliver.portal.PortalController

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.