[opencms-dev] how do i find out resource types ofnavigationelements?

Hitesh hitesh.patel at tatainfotech.com
Tue Sep 7 18:32:05 CEST 2004


CmsObject.readFileExtensions().get(ext);
where ext = "html", htm or gif whatever.
returns type of resource.

hitesh
software consultant.
+919892678844.

----- Original Message -----
From: "Millo Magnocavallo" <millo_magno at yahoo.com>
To: <opencms-dev at opencms.org>
Sent: Tuesday, September 07, 2004 9:51 PM
Subject: [opencms-dev] how do i find out resource types
ofnavigationelements?


> Hi
>
> When iterating through navigationElements is there a way to find out if
> the file is a 'link', 'page' or 'folder' type?
>
> There doesn't seem to be any method for this for the CmsJspNavElement.
> I thought there would be something like resourceType but it doesn't
> exist.
>
> Please help.
>
> Thanks in advance.
> M
>
>
> _______________________________________________
> 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