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.
Further information, I am using JSC to create the portlet. So I am trying to figure out if I can inject the CMS service into the portlet using the jboss-portlet.xml of the application.