[opencms-dev] how do i find out resource types ofnavigationelements?
Millo Magnocavallo
millo_magno at yahoo.com
Wed Sep 8 12:30:01 CEST 2004
Great! That does the trick, thanks.
Do you know where I can find the table to reference file types?
M
--- Thomas März <thomasmaerz at gmx.de> wrote:
> Millo Magnocavallo <millo_magno at yahoo.com> writes:
>
> > thanks for that, but i still don't get how to convert a
> > CmsJspNavElement into an object.
>
> | String resourceName = navElement.getResourceName();
> | CmsResource resource = cmsObject.readFileHeader( resourceName );
> | int type = resource.getType();
>
> HTH,
> Thomas
>
>
>
> _______________________________________________
> 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