See contentObjectGetMultiple. Just provide the typeID and it will get all
objects of a certain type.
As for displaying all of them, use contentObject and pass all the IDs to it
and the name of the method to use. This will be better than CFLOOPing over
the objects.
Of course, I'm assuming you want to call some kind of display method. If you
just want to show the label or some such, then just use CFLOOP.
=======================================================================
Raymond Camden, Principal Spectra Compliance Engineer for Allaire
Email : [EMAIL PROTECTED]
ICQ UIN : 3679482
"My ally is the Force, and a powerful ally it is." - Yoda
> -----Original Message-----
> From: Laura McReynolds [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 01, 2001 4:40 PM
> To: Spectra-Talk
> Subject: Need Help With Displaying Objects
>
>
> Hello -
>
> I would like to display objects of a certain type on a page
> without using a
> container. For example, I have an Object Type called "NewsArticle" and I
> want to be able to display all objects of that type.
>
> Is there a Spectra tag that fetches objects of a certain type? If so, what
> is it and what is the best way to display the objects. I'd just
> like to do a
> simple CFLOOP with the results.
>
> Thanks a lot,
> Laura
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.