AW: [opencms-dev] getting the parent folder ?
Le Tuan
t.le at comundus.com
Mon Jul 7 18:54:02 CEST 2003
hello,
try
CmsFolder parentFolder = cms.readFolder(parentFolderName);
(cms is the CmsObject)
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, 7. Juli 2003 18:20
An: opencms-dev at opencms.org
Betreff: [opencms-dev] getting the parent folder ?
Hi all,
I currently get the current folder within a jsp by using "CmsFolder
currentFolder = cms.getRequestContext().currentFolder();"
If I want to get the parent folder as a CmsFolder, how can it be done ? With
"currentFolder.getParent()" I only get a string...
What's the shortest path to the parent folder as CmsFolder ??
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