I have a problem with thistag.GeneratedContent.
Here what i want to do
Calling Template Code
<cfset Var_text = "this is a test statement">
Here is calltag.cfm code
<CFIF thistag.ExecutionMode EQ "end">
<CFSET Test = thistag.GeneratedContent>
<CFSET thistag.GeneratedContent ="">
I want that output should be "this is a test statement" but it displays "#Var_text#". I have used evaluate function as well but in vain.
I am using nested tags and I want manipulation on the basis of "thistag.generatedcontent" value.
In the ColdFusion documentation they clearly written that thistag.GeneratedContent evaluate all coldfusion variables and function along with text and html. I am copying their description here.
"Custom tags can access and modify the generated content of any of its instances using the thisTag.GeneratedContent variable. In this context, the term generated content means the results of processing the body of a given tag. This includes all text and HTML code in the body, the results of evaluating ColdFusion variables, expressions, and functions, and the results generated by descendant tags. Any changes to the value of this variable results in changes to the generated content."
Does any one have any clue about this.