RE: cfinclude inside a cffile tag?

2002-10-10 Thread Les Mizzell
Morning, Thanks for all your help on this so far. I've still got one more problem that I'm scratching my head over. The cfinclude template app_OUTPUT.cfm contains HTML formatting. However, when the file #MyFile# is generated, the HTML doesn't render - I'm actually seeing the raw HTML code in the

RE: cfinclude inside a cffile tag? Formatting Problem - whoops, your tags are showing...

2002-10-10 Thread Les Mizzell
Forgot to mention - if I run the template app_OUTPUT.cfm by itself, it displays with the proper formatting... : -Original Message- : From: Les Mizzell [mailto:[EMAIL PROTECTED]] : Sent: Thursday, October 10, 2002 9:07 AM : To: CF-Talk : Subject: RE: cfinclude inside a cffile tag

RE: cfinclude inside a cffile tag?

2002-10-10 Thread Mosh Teitelbaum
Message- From: Les Mizzell [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 9:07 AM To: CF-Talk Subject: RE: cfinclude inside a cffile tag? Morning, Thanks for all your help on this so far. I've still got one more problem that I'm scratching my head over. The cfinclude template

RE: cfinclude inside a cffile tag?

2002-10-10 Thread Mark A. Kruger - CFG
=Yes Cfcontent type=text/html cfoutput#sqloutput#/cfoutput In this case, cfcontent is superflous as well. -Original Message- From: Mosh Teitelbaum [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 9:28 AM To: CF-Talk Subject: RE: cfinclude inside a cffile tag? Are you trying

RE: cfinclude inside a cffile tag?

2002-10-10 Thread Les Mizzell
: Are you trying to generate a file that gets saved (HTML tags and : all) to a : file or do you want to generate a file that gets displayed in the browser : (and the HTML gets rendered by the browser)? Neither... The file is being pushed to the client to be saved as a properly formatted text

RE: cfinclude inside a cffile tag?

2002-10-10 Thread Mosh Teitelbaum
-3651 Email: [EMAIL PROTECTED] WWW: http://www.evoch.com/ -Original Message- From: Les Mizzell [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 10:52 AM To: CF-Talk Subject: RE: cfinclude inside a cffile tag? : Are you trying to generate a file that gets saved (HTML tags

RE: cfinclude inside a cffile tag?

2002-10-10 Thread Les Mizzell
cfsavecontent variable=sqlOutput cfinclude template=app_OUTPUT.cfm /cfsavecontent CFSET sqlOutput = ReplaceNoCase(sqlOutput, BR, #Chr(13)##Chr(10)#, ALL) CFSET sqlOutput = ReplaceNoCase(sqlOutput, nbsp;, , ALL) cffile action=WRITE That did the exact trick! How much do I owe you

RE: cfinclude inside a cffile tag?

2002-10-10 Thread Mosh Teitelbaum
/ -Original Message- From: Les Mizzell [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 12:16 PM To: CF-Talk Subject: RE: cfinclude inside a cffile tag? cfsavecontent variable=sqlOutput cfinclude template=app_OUTPUT.cfm /cfsavecontent CFSET sqlOutput

RE: cfinclude inside a cffile tag?

2002-10-09 Thread Mosh Teitelbaum
Use CFSAVECONTENT as in: CFSAVECONTENT VARIABLE=sqlOutput CFINCLUDE TEMPLATE=CFOutputApp.cfm /CFSAVECONTENT CFFILE ACTION=write FILE=d:/whatever/myfile OUTPUT=#sqlOutput# -- Mosh Teitelbaum evoch, LLC Tel: (301) 625-9191