Wow....thanks guys....

Its very clean now...

1) Create my own jboss-portlet.xml in WEB-INF of my WAR
    with the following....


  | <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>
  | 

2) Create a typical portlet and grab the CMS Service with...


  | CMSService = (CMS)getPortletContext().getAttribute("CMS");
  | 

3) Give the CMS Service path to the file you need within CMS system, and whola! 
you have the content of the file.

Thanks Again for everyones help!!!

Indy

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

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


-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to