1 Reply Latest reply on Aug 9, 2006 4:57 PM by creative77

    Accessing the CMSservices

    creative77

      I have been trying to get access to the CMSservices object in my portlet application.

      I am able to grab the CMSService context attribute but the service is always null.

      CMSService = (CMS)getPortletContext().getAttribute("CMS");

      if(CMSService == null)
      throw new PortletException("Cannot start CMS portlet due to service unavailability");

      This does not work in my portlet, does anyone have any info on getting a handle on the service.