AW: [opencms-dev] best way to get Last Modified ?? Sort by modified date ??

Le Tuan t.le at comundus.com
Mon Jun 23 17:06:00 CEST 2003


Hi,

try

CmsFile file = cms.readFile(nav.getResourceName());
or
CmsFolder folder = cms.readFile(nav.getResourceName());

(cms is a instance of CmsObject and nav is a instance of CmsJspNavElement)


Mit freundlichen Grüßen

i.A. Tuan Le
IT-Consultant

Besuchen Sie uns auf dem LINUX TAG.
10. - 13 Juli 2003, Messe Karlsruhe, Stand C40.
_________________________________________

comundus Unternehmensberatung GmbH
Schüttelgrabenring 3, 71332 Waiblingen

Tel:  +49 (0) 71 51-5 00 28-0   Fax: -99

www.comundus.com <http://www.comundus.com>
www.comundus-e-quality.com <http://www.comundus-e-quality.com>
_______________________________________________


-----Ursprüngliche Nachricht-----
Von: opencms-dev-admin at opencms.org
[mailto:opencms-dev-admin at opencms.org]Im Auftrag von Apostoly Guillaume
Gesendet: Montag, 23. Juni 2003 16:22
An: opencms-dev at opencms.org
Betreff: [opencms-dev] best way to get Last Modified ?? Sort by modified
date ??


Hi all,

I'm looking for the best way to sort a
cms.getNavigation().getNavigationForFolder() ArrayList by last modified
date.
I though about sorting this ArrayList myself, but i've got to get the last
modified date for each ressource.

Which is the best way to get a CmsResource from a CmsJspNavElement ??

Thanks by advance,

Guillaume.

_______________________________________
Guillaume APOSTOLY
Business-Analyst EIS-BSD
Tél: +33 (0)1.30.44.95.22
Fax: +33 (0)1.30.44.98.08
ApostolyG at mail.europcar.com <mailto:ApostolyG at mail.europcar.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