There's no way to store tags in memory for execution - you'll need to
read them from a file.  You could do something like the following:

<cfset dynCFM = "<cfoutput>##var##</cfoutput>">

then write to a file:

<cffile action="WRITE" file="#expandPath(./)#/somefilename.cfm"
output="#dynCFM#">

then cfinclude the file you created:

<cfinclude template="somefilename.cfm">


---
Billy Cravens
 
Web and Software Consulting
www.Architechx.com

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On
Behalf Of James Thornton
Sent: Sunday, July 21, 2002 12:27 PM
To: ColdFusion Dallas User Group
Subject: Getting CF to parse tags stored in variables

What's the best way to store a tag in a variable and get CF to parse it?

For example, I want to build several stored proc tags, and store them in
a variable until I am reading for them. 

 JT
________________________________________
James Thornton, http://jamesthornton.com

------------------------------------------------------------------------
-
This email server is running an evaluation copy of the MailShield anti-
spam software. Please contact your email administrator if you have any
questions about this message. MailShield product info:
www.mailshield.com

-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org



-------------------------------------------------------------------------
This email server is running an evaluation copy of the MailShield anti-
spam software. Please contact your email administrator if you have any
questions about this message. MailShield product info: www.mailshield.com

-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org

Reply via email to