[jboss-user] [JBoss Portal] - Accessing the CMSservices

creative77 do-not-reply at jboss.com
Wed Aug 9 12:42:17 EDT 2006


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.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964099#3964099

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3964099



More information about the jboss-user mailing list