Application.cfc adding whitespace

2007-09-03 Thread James Smith
I have a cfm page which must at all costs return a simple pipe delimited list with no whitespace before or after it. Application.cfc is adding some and messing everything up. For now I have fixed the problem by moving the relevant cfm page into its own folder with its own [blank] application.cfc

Re: Application.cfc adding whitespace

2007-09-03 Thread James Holmes
Use output=false on the component and all of the methods On 9/3/07, James Smith [EMAIL PROTECTED] wrote: I have a cfm page which must at all costs return a simple pipe delimited list with no whitespace before or after it. Application.cfc is adding some and messing everything up. For now I

RE: Application.cfc adding whitespace

2007-09-03 Thread Bobby Hartsfield
..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: James Smith [mailto:[EMAIL PROTECTED] Sent: Monday, September 03, 2007 8:47 AM To: CF-Talk Subject: Application.cfc adding whitespace I have a cfm page which must at all costs return a simple

RE: Application.cfc adding whitespace

2007-09-03 Thread James Smith
Output=no doesn't quite work (almost but not quite) since setting it on the onRequest() function results in no output being sent to the browser at all! However, adding cfcontent reset=yes directly before cfinclude template=#Arguments.targetPage# in the onRequest() function seems to have solved

Re: Application.cfc adding whitespace

2007-09-03 Thread Will Tomlinson
Is output set to false? You can also use cfcontent reset=yes / just before any output in the calling page to reset any white space. That is, of course, if you don't want ANYTHING displayed before this point I always like usin that one for the doctype in a header. :) me

RE: Application.cfc adding whitespace

2007-09-03 Thread Bobby Hartsfield
Yep ;-) ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Will Tomlinson [mailto:[EMAIL PROTECTED] Sent: Monday, September 03, 2007 3:58 PM To: CF-Talk Subject: Re: Application.cfc adding whitespace Is output set to false? You can