[opencms-dev] Methods for "getFilename" and "lastmodified" ???

Birgit Hämmerling Christall at gmx.net
Wed May 28 09:32:02 CEST 2003


Hi Oli !!

Your answer shows the right direction... but doesn't fit to my problem...

I'd like to get the (last) publication date, date of last modification e.g.
of a html file that uses templates of the class com.opencms.CmsXmlTemplate. I
looked at the source code of that java class but I didn't find a suitable
method for my problem. 

To get the title of this html-file I can use the following method:
<method name="getTitle"/>

What is the right method to insert the date ??
(Could you please give me an example - to avoid misunderstandings ??)

Greetings,
Birgit


> Last modified date can be fetched with CmsResource.getDateLastModified().
> 
> Regards,
> 
> Olli
> 

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!




More information about the opencms-dev mailing list