Hello,

I am using 2.2 and made a sub class of CMSPortlet.
it is working, the CMS instance is retrieved the same way as in CMSPortlet 
class.
I had to inject the service in the war, with the 
<service-name>CMS</service-name> etc... as said in the jboss-portlet.xml.

By the way, I had to redefine a instance in the sub class (protected CMS 
MyCMSService;), because the CMS CMSService is private in the CMSPortlet. So 
overloaded the init method to, with a call to the super method.
not clean, but working.



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

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


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to