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

Millo Magnocavallo millo_magno at yahoo.com
Tue Sep 7 19:39:35 CEST 2004


hi hitesh

thanks for that, but i still don't get how to convert a
CmsJspNavElement into an object.

i can't see any methods for this?

m

 --- Hitesh <hitesh.patel at tatainfotech.com> wrote: 
> 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
> >
> 
> 
> 
> _______________________________________________
> 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