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

    Accessing the CMSservices

    D Johnson Newbie

      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.