I'm confused. Your code says... If I'm in the end mode, do nothing. (Well, to be literal, you output a HTML comment. Notice your comment has 2 dashes, not three.)
If I'm in the start mode, change thisTag.generatedContent to an empty string. However, in the start mode, you don't have generatedContent. If you want to remove the content, move that cfset line to the end mode branch. ======================================================================== === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc (www.mindseye.com) Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) Email : [EMAIL PROTECTED] Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 03, 2003 2: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 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

