> I would like to process (evaluate) a CF tag that has been > written inside a string. For example > > the string contains: > > <cfset myvar = "<cfimport ....>other stufff, blah , blah..." > > > Then on my display page would like to > > <cfoutput>#myvar#</cfoutput> > > and have the <cfimport> also process. Is this possible > without physically writing a page then calling the page?
No, to the best of my knowledge you'll have to write the code to a file, then run that file. Alternatively, you may be able to replace all of your tag-based logic with CFML expressions, which you can run using the Evaluate function. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185217 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

