RE: Incremental CFCONTENT?

2004-11-30 Thread Katz, Dov B (IT)
Subject: Re: Incremental CFCONTENT? It won't try to compile the file if there is no server mapping to the .txt extension. Use cfset getPageContext().include(header-static-html.txt) It's my understanding that this will, in fact, execute the page if it is a JSP or CFM file. Is it the case

Re: Incremental CFCONTENT?

2004-11-30 Thread Kwang Suh
] Sent: Monday, November 29, 2004 5:57 PM To: CF-Talk Subject: Re: Incremental CFCONTENT? It won't try to compile the file if there is no server mapping to the .txt extension. extension? Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444

RE: Incremental CFCONTENT?

2004-11-29 Thread Dave Watts
Can I pipe out parts of pages using CFCONTENT? No, I'm pretty sure you can't if you use the FILE attribute of CFCONTENT. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 ~|

Re: Incremental CFCONTENT?

2004-11-29 Thread Joe Rinehart
Dov, Unfortuantely, nope. This might be one approach you could take: cfsavecontent variable=output htmlheadbody /cfsavecontent cffile action=write file=header-static-html.txt output=#output# cfsavecontent variable=output yada yada yada /cfsavecontent cffile action=write

Re: Incremental CFCONTENT?

2004-11-29 Thread Kwang Suh
Use cfset getPageContext().include(header-static-html.txt) Can I pipe out parts of pages using CFCONTENT? I currently have an cache_to_file tag which I wrote to cache parts of rendered pages to file. Right now I (inefficiently) CFFILE-Read them, then #output# the contents. What I'd

RE: Incremental CFCONTENT?

2004-11-29 Thread Dave Watts
Use cfset getPageContext().include(header-static-html.txt) It's my understanding that this will, in fact, execute the page if it is a JSP or CFM file. Is it the case that it will not attempt to execute the page if it isn't mapped to a specific executable file extension? Dave Watts, CTO, Fig

Re: Incremental CFCONTENT?

2004-11-29 Thread Kwang Suh
It won't try to compile the file if there is no server mapping to the .txt extension. Use cfset getPageContext().include(header-static-html.txt) It's my understanding that this will, in fact, execute the page if it is a JSP or CFM file. Is it the case that it will not attempt to execute the