Because I'm a wimp, let me preface my answer with "I could be wrong".

You can't do that.

You might be able to simulate it though...

I wrote a template parser a long time ago that allows end-users to 
similate certain coldfusion tags using a custom marketup....

So when I come across a tag pair like this:

        <%IF==LOGGED_IN%><%/IF==LOGGED_IN%>

I only display what is in between them if the user is logged in... it 
required a whole lot of nasty string parsing, and it would be even 
nastier if you had to parse with regular expressions so you could get
the <CFIMPORT ...> tag, place it's attributes in variables, and deal 
with it appropriately.

But it would be a LOT more complicated than <cfoutput>#myvar#</cfoutput>

   - Rick

sonicDivx wrote:
> 
> 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?



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:185198
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to