Maybe you could set a request or variable scope variable with the current template filename?
Then, inside the component, access caller.filename variable? -----Original Message----- From: Michael Dinowitz [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 03, 2007 2:49 PM To: CF-Talk Subject: Does a component know its parent? Is there any way for a component to 'know' where it was called from? From what I know, the answer is no but I'm hoping I'm wrong. I have to write a trace/debug for mach-ii and need to know what component was called, from where, what was passed and what errors occurred (and were caught with a try/catch). Fun. :( -- Michael Dinowitz President: House of Fusion (http://www.houseoffusion.com) Publisher: Fusion Authority (http://www.fusionauthority.com) Adobe Community Expert / Advanced Certified ColdFusion Professional ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:282839 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

