<cfsavecontent variable='content'> #Chr(60)#cfinclude template='includedFile.cfm'#Chr(62)#
static + dynamic content </cfsavecontent> On Thu, Aug 14, 2008 at 2:15 AM, Rich <[EMAIL PROTECTED]> wrote: > Hi. I'm trying to write a cfm file using <cffile action="write"...> > and include a cfinclude tag in the file. I have all of my dynamic > content in a cfsavecontent tag and I'm using that as the output of the > cffile tag. However, I want the file to which I'm writing to contain > a cfinclude tag. For example: > > > <cfsavecontent variable='content'> > > <cfinclude template='includedFile.cfm'> > > static + dynamic content > > </cfsavecontent> > > <cffile action='write' file=#filePath# output=#content#> > > > However, this processes the includedFile when the cfsavecontent is > parsed, as expected. How can I do this so that the cfinclude tag is > parsed only when the output file is actually run? > > Thanks, > > Rich > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/SQL/message.cfm/messageid:3128 Subscription: http://www.houseoffusion.com/groups/SQL/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.6
