[opencms-dev] OpenCMS and portlets.

Ivo Esteves ivo.esteves at novabase.pt
Tue Jul 27 19:40:02 CEST 2004


Hi, again...

 

In advance, thanks for your quick response. :-)

 

The version that I'm using is the 5.3.5, so I can use the solution you give
me. But I have a problem and I think that is the application context...

 

I've OpenCms and portles(eXo platform) running under TomCat 5.0.25. Can you
tell me if the solution should work in this environment?? I already tried
but don't work, maybe TomCat isn't an application context, or maybe I've
done something wrong???

 

Someone have an idea???

 

Thanks 

Ivo Esteves

 

-----Original Message-----
From: opencms-dev-admin at opencms.org [mailto:opencms-dev-admin at opencms.org]
On Behalf Of Alexander Kandzior
Sent: sexta-feira, 23 de Julho de 2004 15:52
To: opencms-dev at opencms.org
Subject: RE: [opencms-dev] OpenCMS and portlets.

 

What version do you use? 

 

If you use the current "stable" release, there is no easy way (without core
code modifications) to get a CmsObject.

 

This has changed in the current development version (CVS HEAD). In this
version you can get access to a CmsObject using the OpenCms singleton Object
(e.g. using method OpenCms.initCmsObject(String unsername). This just
requires that OpenCms shares an application context with your application.

Best Regards,
Alex.

Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com <http://www.alkacon.com/>  

 

 -----Original Message-----
From: opencms-dev-admin at opencms.org [mailto:opencms-dev-admin at opencms.org]
On Behalf Of Ivo Esteves
Sent: Friday, July 23, 2004 4:25 PM
To: opencms-dev at opencms.org
Subject: [opencms-dev] OpenCMS and portlets.

Hi, 

I'm newbie in OpenCMS. 

 

I'm developing a portal using portlets and we decide to use OpenCMS only to
be the Content Management Service. 

 

To access resources I've got to use the OpenCMS API, so far so good, but I
don't know how to get the CMSObject.

So far I only see examples in JSP, that use CmsJspActionElement class to get
it, but I'm using portlets (Java) and I don't how to get the CMSObject to
access resources,

 

If anyone has an idea... 

 

Thanks in advance.

 

Ivo Esteves

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20040727/34333326/attachment.htm>


More information about the opencms-dev mailing list