[opencms-dev] resource type id & loader id

Jonathan Woods jonathan.woods at scintillance.com
Mon May 29 12:12:49 CEST 2006


Oh, and you'd probably get an Exception on start-up if either kind of id
clashed, and one or other (probably not the first) wouldn't load/be
assigned.

Jon 

-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Dmitry Lihachev
Sent: 29 May 2006 11:04
To: The OpenCms mailing list
Subject: Re: [opencms-dev] resource type id & loader id

Hello, Ruben Malchow.
> 
> 
> hello list,
> 
> i was wondering how the resource type and loader ids are assigned ... 
> and how they are used within opencms? what exactly would happen when 
> two loader's ids collide?
> 
> .rm
> 
You may take id of type as follows:

   OpenCms.getResourceManager().getResourceType(typeName).getTypeId()


--
WBR, Dmitry Lihachev
icq uin: 120606300
http://knigi.tomsk.ru


_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev





More information about the opencms-dev mailing list