Maybe you can use CFSAVECONTENT...

<cfsavecontent variable="content">

  <cfinclude template="mytemplate.cfm">
</cfsavecontent>

MAYBE YOU COULD WRAP THE INCLUDE WITH THE CFSAVECONTENT.....NEVER TRIED IT,
BUT IT I THINK IT SHOULD WORK!

hth

Dan Blackman
RemoteSite Technologies
Advanced CF Developer 5.0
Senior Technologist
v 972.501.9490
c 214.641.5696

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Palyne Gaenir
Sent: Monday, August 13, 2001 12:36 PM
To: [EMAIL PROTECTED]
Subject: Write cfinclude content to variable


My code isn't working... how do I set a variable that will fully
contain the content of a cfincluded template?  So that I can write
the value in the page (with a loop, as part of other stuff) but then
refer to the values at the page bottom?  Would appreciate any help on
this.  I tried <cfset Answer#elemid# = #Evaluate(<cflinclude
template="answer.cfm">)#>  but that didn't work.... Thanks. Palyne

-------------------------------------------------------------------------
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