IMHO, you're better off only using CFCs for backend functionality, so they should never output anything. Make method calls to your CFCs from your CFM pages, and then do all the outputting there. Then you can just blindly add output=false to all your CFCOMPONENT and CFFUNCTION tags. Abstraction is king in keeping your head from exploding when you have to come back and make modifications 6 months down the road.
barneyb --- Barney Boisvert, Senior Development Engineer AudienceCentral [EMAIL PROTECTED] voice : 360.756.8080 x12 fax : 360.647.5351 www.audiencecentral.com > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Behalf Of Raymond Camden > Sent: Tuesday, July 22, 2003 12:06 PM > To: [EMAIL PROTECTED] > Subject: RE: [CFCDev] Extra white space > > > Add output=false to your cfcomponent tag, and every method that doesn't > need to output directly. > > ======================================================================== > === > Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc > (www.mindseye.com) > Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) > > Email : [EMAIL PROTECTED] > Blog : www.camdenfamily.com/morpheus/blog > Yahoo IM : morpheus > > "My ally is the Force, and a powerful ally it is." - Yoda > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of Shannon Tucker > > Sent: Tuesday, July 22, 2003 1:02 PM > > To: [EMAIL PROTECTED] > > Subject: [CFCDev] Extra white space > > > > > > I have started using cfcs to manage my data, but have been > > noticing a lot of extra white space in the pages that invoke > > the cfcs. Does anyone have any idea of how to get rid of the > > extra space? Any help is appreciated. > > > > Thx > > > > Shannon > > ---------------------------------------------------------- > > You are subscribed to cfcdev. To unsubscribe, send an email > > to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' > > in the message of the email. > > > > CFCDev is run by CFCZone (www.cfczone.org) and supported > > by Mindtool, Corporation (www.mindtool.com). > > > > ---------------------------------------------------------- > You are subscribed to cfcdev. To unsubscribe, send an email > to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' > in the message of the email. > > CFCDev is run by CFCZone (www.cfczone.org) and supported > by Mindtool, Corporation (www.mindtool.com). > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.501 / Virus Database: 299 - Release Date: 7/14/2003 ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com).
