If you're looking for a good way to map inheritance in your CFCs, CFC Mapper
will allow you to browse all of your CFC parents and children:

http://cfcmapper.riaforge.org/

Unfortunately, if you are instantiating CFCs from within templates, this
won't help. The only way around this is to pass an additional argument...
Perhaps called 'referrer' or something... And use a CGI.SCRIPT_NAME as the
value of that referrer argument?

Jim Rising
Sr. Cold Fusion Developer
ICGLink Inc.
www.icglink.com

 

-----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




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:282844
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to