[opencms-dev] OpenCMS and portlets.
Michael Goodwin
mgoodwin at amadeus.net
Fri Jul 23 17:29:01 CEST 2004
> This just requires that OpenCms shares an application context with your
application.
I'm not an expert, but don't valves allow sharing of state between j2ee web
applications?
Mike
From: "Alexander Kandzior" <alex at opencms.org>@opencms.org on 23/07/2004
16:51 ZE2
Please respond to opencms-dev at opencms.org
Sent by: opencms-dev-admin at opencms.org
To: <opencms-dev at opencms.org>
cc:
Subjec RE: [opencms-dev] OpenCMS and
t: 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
-----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
More information about the opencms-dev
mailing list