Sorry, I didn't code it right since you are cfincluding it, but I think the concept still stands.
~Dave Shuck [EMAIL PROTECTED] www.worldwildweb.biz On 7/29/05, Dave Shuck <[EMAIL PROTECTED]> wrote: > I just did that with my wwwCFCcreator Jake. If I am understanding > your what you are saying properly, you just need to escape the pound > signs like this: > > <cffile ..... output="<CFSET dateVar = ##now()## />" /> > > hth > > ~Dave Shuck > [EMAIL PROTECTED] > www.worldwildweb.biz > > On 7/29/05, Jake McKee <[EMAIL PROTECTED]> wrote: > > All, > > > > I'm using a CFINCLUDE to place some content into the top of a CFFILE > > generated .cfm file. This content is mostly CF code, but basically when > > creation page does its magic and creates the file.cfm, I want it to have > > certain CF code at the top of the file. > > > > This has been working fine as I have it, but the code I've been adding > > has all been static tags (stuff like a basic CFCONTENT and non-dynamic > > CFSET). > > > > But now I'd like to add some dynamic code into the *output* file. I > > don't want the #something# to process until the final file is run, not > > when the CFINCLUDE that includes that content is run to create the final > > file. > > > > Am I making any sense? > > > > Basically the question is this - how to I include something like <CFSET > > dateVar = #now()#> in a new file being generated by CFFILE and have the > > results look like: > > > > <CFSET dateVar = #now()#> > > My file contents > > > > ...rather than > > > > <CFSET dateVar = 7/29/2005> > > My file contents > > > > > > ? > > > > Thanks! > > > > ---------------------------------------------------------- > > To post, send email to [email protected] > > To unsubscribe: > > http://www.dfwcfug.org/form_MemberUnsubscribe.cfm > > To subscribe: > > http://www.dfwcfug.org/form_MemberRegistration.cfm > > > > > > > ---------------------------------------------------------- To post, send email to [email protected] To unsubscribe: http://www.dfwcfug.org/form_MemberUnsubscribe.cfm To subscribe: http://www.dfwcfug.org/form_MemberRegistration.cfm
