[opencms-dev] Resource properties
Hartmann, Waehrisch & Feykes GmbH
hartmann at waehrisch-feykes.de
Tue Nov 11 11:56:02 CET 2003
The CmsObject.readProperty(*) methods are your friends.
----- Original Message -----
From: "Eke, Kemi" <Kemi.Eke at community-fund.org.uk>
To: <opencms-dev at opencms.org>
Sent: Tuesday, November 11, 2003 11:50 AM
Subject: [opencms-dev] Resource properties
> Hello Everyone,
>
> Just a quickie, is there any way of accessing the properties of a resource
> (as normally described by cms.getProperty(String) where cms is an instance
> of CmsJspActionElement) without creating a CmsJspActionElement? I'm
writing
> a class that implements the I_CmsCronTab interface in which one accesses
> CmsResources objects in a folder via
>
> cmsObject.getResourcesInFolder(pathCurrentPic)
>
> This returns a vector of resources but afterwards I wish to get to the
> properties associated with the resources. In a JSP this is easy as one can
> create an instance of CmsJspActionElement, and then associate each
resource
> with a Map object of properties from cms.properties(uri of resource) but
> without pageContext, response and request objects available in the case of
a
> class, how does one go about this?
>
> Any help gratefully received
>
> Kemi
>
> Information contained in this email plus any attachment is intended for
> the use of the addressee only and is confidential, proprietary and may
> be privileged. Any dissemination, distribution, copying or use of this
> communication without the prior permission of the sender is prohibited.
> If you are not the intended recipient you must not copy this message or
> attachment or disclose the contents to any other person, but are
> requested to telephone or email the sender and delete the message and
> any attachment from your system. The contents of this message will not
> be in any way binding upon the Community Fund. Opinions, conclusions,
> contractual obligations and other information in this message, in so far
> as they relate to the official business of the Community Fund, must be
> specifically confirmed in writing by the Community Fund.
> ___________________________________________________________________
> This e-mail has been scanned for viruses by MCI's Internet Managed
Scanning Services - powered by MessageLabs. For further information visit
http://www.mci.com
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
>
More information about the opencms-dev
mailing list