Thanks guys,

That worked. I get it now. I do my processing in 'END' mode output 
the results of the processing and THEN set thisTag.generatedConent 
to "".

Cool thanks,

David


= = = Original message = = =

Move the cfset = "" into the END processing... where you have 
it (in the
start) there no content generated yet.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 03, 2003 3:57 PM
To: CF-Talk
Subject: thistag.generatedContent


I have a custom tag:

<cf_myTag>
Here is a bunch of output
</cf_myTag>

and I want to process the "Here is a bunch of output" text like 

this: 

<CFIF thistag.ExecutionMode is 'END'>
  <!-- process text then output here --> 
<cfelse>
    <!-- do not output text here -->
~<CFSET ThisTag.GeneratedContent = "">
</CFIF>~

Using the above code my processed output and my raw output are 

both being displayed. I know I have done this before but I can't 

seem to get it working.

Thanks
David 

___________________________________________________________
Sent by ePrompter, the premier email notification software.
Free download at http://www.ePrompter.com.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to