Your best bet I would say would be to amend both the fourq.cfc and the contentobjectgetmultiple tag to remove the need for the objectids being a required attribute.
You could add another method within the CFC to get objects based on the type being passed as as it stands it seems the contentobjectgetmultiple.cfm tag is actually only going to loop through the object ids and get the types accordingly...which as the comments relate - is very inneficient. Obviously a workaround is not as good as a "fix" and at present I would say that doing some cf pre-ct call you will get the same effect until its fixed. After another look you could simply change the "findType" method to cater for the fact no objects were passed - but I would say a new method of getObjectByType would be better? But thats just me.... :-) -----Original Message----- From: Lucas Sherwood [mailto:[EMAIL PROTECTED] Sent: 24 June 2003 14:58 To: FarCry Developers Subject: [farcry-dev] RE: fourq: ContentObjectGetMultiple �Hi Neil, the catch here is that I do not want to pass in the list if ObjectIDs. this tag requires that you pass in the objectIDs of the target objects. I have an object type where I normaly need all of the instances of that type at once. I guess there is a secondary question here, what is an easy way to get all the objectIDs of a type? L. > Lucas, > > I think its just this.. > > <blah:contentobjectGetMultiple bActive="0" > lObjectIds="#ObjectId#" > typename="#typename#" > r_stObjects="stObjects"> > > > > > -----Original Message----- > From: Lucas Sherwood [mailto:[EMAIL PROTECTED] > Sent: 24 June 2003 14:34 > To: FarCry Developers > Subject: [farcry-dev] fourq: ContentObjectGetMultiple > > > Hi Guys, > I am having a blond day! is there an easy way with > ContentObjectGetMultiple to return all objects of a specific type or > should a just start writing a new fourq tag of some sort... > > thanks, > Lucas > > --- > You are currently subscribed to farcry-dev as: > [EMAIL PROTECTED] > To unsubscribe send a blank email to > [EMAIL PROTECTED] --- You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] --- You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]
