> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Mike Chabot > Sent: Friday, 6 August 2004 5:11 AM > To: [EMAIL PROTECTED] > Subject: [CFCDev] CFC Caller Scope? > > Does anybody know if it is possible to access the variables > scope of the calling page from within a CFC? You can do this > with a custom tag using the caller scope. I tried to create > an error hander inside of a CFC that dumps out all the > scopes, but I ran into a hurdle because all the error > information is in the variable scope of the page that had the error. >
There are a number of techniques you can do, i.e. you could store as Gary mentioned earlier into its own CFC scope stack, or you could create a public method called dumpLocalVar() which will return the variables scope from within the CFC. Directly accessing a CFC's internals via a calling page seems a bit of a leap of faith. Hope that was what you were asking as like Gary, found it a little difficult to get a clear picture as to what your objective is. Regards Scott Barnes Senior Web Developer Alpha Business Systems [EMAIL PROTECTED] 1/31 Thompson St Bowen Hills QLD 4006 Ph +61 07 3216 0999 http://www.alphabus.com.au ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]
