you need to inject the backend CMS Service into your Portlet

you can do this by including a file called jboss-portlet.xml in your war and 
putting this configuration in it:


  | <!DOCTYPE portlet-app PUBLIC
  |    "-//JBoss Portal//DTD JBoss Portlet 2.6//EN"
  |    "http://www.jboss.org/portal/dtd/jboss-portlet_2_6.dtd";>
  | <portlet-app>
  | <service>
  |       <service-name>CMS</service-name>
  |       <service-class>org.jboss.portal.cms.CMS</service-class>
  |       <service-ref>:service=CMS</service-ref>
  | </service>
  | </portlet-app>
  | 

For further reference look at the jboss-portlet.xml shipped with the core cms 
package being shipped with the Portal. 

You probably don't need all the services in there since some of them are 
utilized by the CMS Administration tool. 

Thanks

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4135749
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to