Are you calling the cfinvoke from another CFC, if you are then it will inherit the output attribute hence it will not display if it is false. Or if you have other output suppression in the calling template it will also inherit this.
Regards Andrew Scott Technical Consultant NuSphere Pty Ltd Level 2/33 Bank Street South Melbourne, Victoria, 3205 Phone: 03 9686 0485 - Fax: 03 9699 7976 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adam Cameron Sent: Thursday, 22 January 2004 7:28 AM To: [EMAIL PROTECTED] Subject: [CFCDev] Odd <CFDUMP> behaviour in method G'day Here's some quick sample code: COMP.CFC <cfcomponent> <cffunction name="func" output="true"> <cfargument name="arg" required="no"> <cfdump var="#arguments#" label="f1 arguments"> WHY DOES IT NOT OUTPUT THIS? <cfdump var="#arguments#" label="But it *does* output this!"> </cffunction> </cfcomponent> CALLER.CFM <cfinvoke component="comp" method="func"> When I run this, I see the first and second dumps, but not the intermediary output? If I change the relevant line to this: <cfoutput>WHY DOES IT NOT OUTPUT THIS?</cfoutput> Then it *does* output. What's going on there? A bug in the <cfdump> tag, I guess? Any thoughts? I note that there's a bunch of exceptions output by CFDUMP too, which is a bit manky: 09:25:10.010 - Expression Exception - in C:\Inetpub\wwwroot\adam_junk\tests\cfcs\null_args\comp.cfc : line 5 Element VAR is undefined in ATTRIBUTES. 09:25:10.010 - coldfusion.util.RuntimeWrapper Exception - in C:\Inetpub\wwwroot\adam_junk\tests\cfcs\null_args\comp.cfc : line 5 Attribute validation error. 09:25:10.010 - Template Exception - in C:\Inetpub\wwwroot\adam_junk\tests\cfcs\null_args\comp.cfc : line 5 Attribute validation error. 09:25:10.010 - Expression Exception - in C:\Inetpub\wwwroot\adam_junk\tests\cfcs\null_args\comp.cfc : line 8 Element VAR is undefined in ATTRIBUTES. 09:25:10.010 - coldfusion.util.RuntimeWrapper Exception - in C:\Inetpub\wwwroot\adam_junk\tests\cfcs\null_args\comp.cfc : line 8 Attribute validation error. 09:25:10.010 - Template Exception - in C:\Inetpub\wwwroot\adam_junk\tests\cfcs\null_args\comp.cfc : line 8 Attribute validation error. Adam ---------------------------------------------------------- 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] ---------------------------------------------------------- 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]
