[jboss-dev-forums] [Design of JBoss Portal] - CMS portlet extension

akranga do-not-reply at jboss.com
Sun Aug 6 16:57:52 EDT 2006


I'm new in JBoss Portal development and I would like to extend CMSportlet with MyCMSPortlet class. So when I try to deploy MyCMSPortlet it fails with exception: Cannot start CMS portlet due to service unavailability.

It looks like it fails in method:

  | public void init() throws PortletException
  |    {
  |       CMSService = (CMS) getPortletContext().getAttribute("CMS");
  |       if(CMSService == null)
  |       {
  |          throw new PortletException("Cannot start CMS portlet due to service unavailability");
  |       }
  |    }
  | 

Does anybody have a solution?

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

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



More information about the jboss-dev-forums mailing list