RE: Output to File, a lot of white space

2000-10-20 Thread Warrick, Mark

Start all files with:
cfsetting enablecfoutputonly="yes"
put cf code here, surround HTML outputs with cfoutput

end all files with:
cfsetting enablecfoutputonly="no"

That will eliminate ALL the extra white space that was not generated as you wanted it 
to be, and it's backwards-compatible with version 4.01.

---mark

--
Mark Warrick
Phone: (714) 547-5386
Efax.com Fax: (801) 730-7289
Personal Email: [EMAIL PROTECTED]
Personal URL: http://www.warrick.net 
Business Email: [EMAIL PROTECTED]
Business URL: http://www.fusioneers.com
ICQ: 346566
--


 -Original Message-
 From: Paul Sizemore [mailto:[EMAIL PROTECTED]]
 Sent: Friday, October 20, 2000 9:15 AM
 To: CF-Talk
 Subject: Output to File, a lot of white space
 
 
 I'm writing a file to disk using the Scheduled Task's "Output to file"
 feature. And, when the file is generated on disk it has a lot of extra
 carriage returns, tabs, and spaces. The amount of extra "white" 
 space looks
 a lot like the extra "white" space in my code.  In fact I deleted an extra
 carriage return in my Application.cfm, and a carriage return in 
 the file was
 deleted. 
 I have selected  "Suppress whitespace by default " on the server, used
 CFPROCESSINGDIRECTIVE ... , experimented with CFSetting, and 
 none of them
 work (I do notice a difference with suppressing the white space). 
 
 Paul Sizemore
 
 Finish Line
 3308 N Mitthoeffer Rd
 Indianapolis, IN 46235
 W: 317-899-1022 ext 3516
 --
 --
 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists 
 or send a message with 'unsubscribe' in the body to 
 [EMAIL PROTECTED]


Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebarRsts or send a message with 
'unsubscribe' in the body to [EMAIL PROTECTED]



RE: Output to File, a lot of white space

2000-10-20 Thread Paul Sizemore

I have tried that (also, I just tried again) - Does not work.

For example where #Q_One.brief_desc# is Air Flightposite

"CF_Capitalize#Q_One.brief_desc#/CF_Capitalize

generates

" 















Air Flightposite (if you highlight the above you can see all the spaces and
carriage returns)

-Original Message-
From: Warrick, Mark [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 20, 2000 11:35 AM
To: CF-Talk
Subject: RE: Output to File, a lot of white space

Start all files with:
cfsetting enablecfoutputonly="yes"
put cf code here, surround HTML outputs with cfoutput

end all files with:
cfsetting enablecfoutputonly="no"

That will eliminate ALL the extra white space that was not generated as you
wanted it to be, and it's backwards-compatible with version 4.01.

---mark

--
Mark Warrick
Phone: (714) 547-5386
Efax.com Fax: (801) 730-7289
Personal Email: [EMAIL PROTECTED]
Personal URL: http://www.warrick.net
Business Email: [EMAIL PROTECTED]
Business URL: http://www.fusioneers.com
ICQ: 346566
--


 -Original Message-
 From: Paul Sizemore [mailto:[EMAIL PROTECTED]]
 Sent: Friday, October 20, 2000 9:15 AM
 To: CF-Talk
 Subject: Output to File, a lot of white space


 I'm writing a file to disk using the Scheduled Task's "Output to file"
 feature. And, when the file is generated on disk it has a lot of extra
 carriage returns, tabs, and spaces. The amount of extra "white"
 space looks
 a lot like the extra "white" space in my code.  In fact I deleted an extra
 carriage return in my Application.cfm, and a carriage return in
 the file was
 deleted.
 I have selected  "Suppress whitespace by default " on the server, used
 CFPROCESSINGDIRECTIVE ... , experimented with CFSetting, and
 none of them
 work (I do notice a difference with suppressing the white space).

 Paul Sizemore

 Finish Line
 3308 N Mitthoeffer Rd
 Indianapolis, IN 46235
 W: 317-899-1022 ext 3516
 --
 --
 Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
 Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
 or send a message with 'unsubscribe' in the body to
 [EMAIL PROTECTED]



Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]