<cfset actor = createObject("component", "actor")>
<cfset actorMetaData = getMetaData(actor)> <cfif structKeyExists(actorMetaData, "hint")> <cfoutput> #actorMetaData.hint# </cfoutput> </cfif> Note that the "hint" key does not appear to exists if the hint attribute is not defined. So, you'll have to check for its existance before attempting to reference it. Seems like a bug to me, but that's the way it is. :) Ben Rogers http://www.c4.net v.508.240.0051 f.508.240.0057 > -----Original Message----- > From: Andy Ousterhout [mailto:[EMAIL PROTECTED] > Sent: Friday, November 26, 2004 4:02 PM > To: CF-Talk > Subject: Retrieving Hint from components > > How would I retrieve the hint from a CFC: > > <CFCOMPONENT displayname="Actor" > hint="An actor is someone who interacts with the system either directly > with > it or indirectly through an other Actor or output from the system > like a fax or letter"> > > Andy > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185485 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54