Package org.infoglue.deliver.portal

Examples of org.infoglue.deliver.portal.PortletWindowIG


    {
      logger.info("portletName:" + portletName);
      logger.info("ID:" + "p" + getController().getComponentContentId());
      logger.info("action:" + action);
     
      PortletWindowIG pw = getPortalController().getPortletWindow(portletName, "p" + getController().getComponentContentId());
      pw.setParameter("action", action);
     
      Iterator<String> parametersIterator = parameters.keySet().iterator();
      while(parametersIterator.hasNext())
      {
        String parameterName = parametersIterator.next();
        pw.setParameter(parameterName, parameters.get(parameterName));
      }
 
      Iterator<String> attributesIterator = attributes.keySet().iterator();
      while(attributesIterator.hasNext())
      {
        String attributeName = attributesIterator.next();
        pw.setAttribute(attributeName, attributes.get(attributeName));
      }

      produceResult("" + pw.render());
    }
    catch (Exception e)
    {
      produceResult("Error in portlet:" + e.getMessage());
    }
View Full Code Here

TOP

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

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.