[opencms-dev] Howto Retrieve the File Type

Corbey, Clayton CorbeyC at brandonrha.mb.ca
Thu Sep 22 18:33:14 CEST 2005


Hey All,
 
I've drawn a blank on what OpenCms library to use in order to retrieve
the type of file I've loaded into, for example, a menu system.
 
Not the OpenCms properties of the file (it's not in there, I've checked
or else looked in the wrong area), but the actual type; ie: news, event,
jsp, folder, xmlpage, imagegallery, etc.
 
What I want to do is build a page with two columns, one containing news
items on the left and event items on the right; with all the files from
one directory being automatically pulled and sorted. I just can't figure
out how to get the actual type from the system.
 
Any ideas/code?
 
Thanks
 
-Clayton
 

CONFIDENTIALITY NOTICE:  This message is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential and exempt from disclosure under applicable law.  If the reader of this message is not the intended recipient you are hereby notified that any distribution, copying, disclosure and use of, or reliance on the contents of this transmission is strictly prohibited.  If you have received this transmission in error, please notify us immediately by return e-mail and destroy the transmission by deleting the original message, attachments and all copies.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050922/f11b65e4/attachment.htm>


More information about the opencms-dev mailing list