[opencms-dev] Folder title
Martin Kuba
makub at ics.muni.cz
Thu Sep 16 11:35:26 CEST 2004
Olli Aro wrote:
> Aaah, your cms is not actually CmsObject but CmsJspActionElement. Try:
>
> CmsObject cmso=cms.getCmsObject();
> String currentFolderTitle = cmso.readProperty(cmso. getAbsolutePath,
> "Title");
The CmsJspNavElement class already has a getTitle() method
which returns the title.
Martin
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Supercomputing Center Brno Martin Kuba
Institute of Computer Science email: makub at ics.muni.cz
Masaryk University http://www.ics.muni.cz/~makub/
Botanicka 68a, 60200 Brno, CZ mobil: +420-603-533775
--------------------------------------------------------------
More information about the opencms-dev
mailing list