From: Alistair Y. <ali...@sm...> - 2006-07-24 09:39:05
|
>> 300-303 are used for the PeerMarker resources not according to our version of head Aggie! RESOURCE_PEERMARKER = 300 or am I looking in the wrong place again? > Facility and Resource IDs are completely unrelated Facility id? haven't seen any of them! HelloWorldResource.sql: INSERT INTO classes (type, super_type, db_name, table_name, java_class) VALUES(28, 10, null, null, 'org.bodington.server.resources.HelloWorldResource') GO is "28" the Resource ID or the Facility ID then? I presume it's the resource id. so what's the advice if any? is there any way to avoid collisions? e.g. I've just chosen 301 but PeerMarker uses that although it's not defined anywhere. Alistair On 24 Jul 2006, at 10:23, Matthew Buckett wrote: > Andrew Booth wrote: >> 300-303 are used for the PeerMarker resources. > > This has come up before. > > http://sourceforge.net/mailarchive/message.php?msg_id=12528832 > > Facility and Resource IDs are completely unrelated. The resource ID is > used by the database layer to work out how to map a set of rows in the > database to a Java object and the facility No is used to work out > how to > display a resource over the web. A java object is not always a > resource. > > There has been a convention that they matched but there is no > requirement. There will always be more resource IDs than Facility IDs > because some objects don't have a facility (events, users, etc). > > -- > -- Matthew Buckett, VLE Developer > -- Learning Technologies Group, Oxford University Computing Services > -- Tel: +44 (0)1865 283660 http://www.oucs.ox.ac.uk/ltg/ > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys -- and earn > cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Bodington-developers mailing list > Bod...@li... > https://lists.sourceforge.net/lists/listinfo/bodington-developers |