Got this reply via email, and it does exactly what I needed... Thanks
Bryan.
Tuesday, July 17, 2001 1:03 PM
My posts don't seem to go through for a long time so I am sending this
to you
directly.
Try saving the content in a variable first.
cfset content = thistag.generatedContent
then clear
Simply do:
CFSET ThisTag.GeneratedContent =
Make sure you do it in ThisTag.ExecutionMode EQ End.
===
Raymond Camden, Principal Spectra Compliance Engineer for Macromedia
Email : [EMAIL PROTECTED]
ICQ UIN : 3679482
My ally
In the end portion of the tag you need to set ThisTag.GeneratedContent to
nothing. Do this after you output what you need to output.
At 11:38 AM 7/17/2001 -0400, you wrote:
Please tell me if the following is possible, and how: I want to stifle
the output of the area between cf_MyTag and
Please tell me if the following is possible, and how: I want to
stifle the output of the area between cf_MyTag and /cf_MyTag.
Yes, it's possible. Simply clear the value of ThisTag.GeneratedContent when
you're done with it.
### MyTag.cfm (custom tag) ###:
rush answer - sorry. but if I understand correctly...
== callingtemplate.cfm
cf_stripContent
This is the Content.
/cf_stripContent
cfoutput#PageContent#/cfoutput
== end callingtemplate.cfm
== stripcontent.cfm
cfif ThisTag.ExecutionMode is start
cfelse
cfset caller.PageContent =
Jamie Jackson wrote:
Please tell me if the following is possible, and how: I want to stifle
the output of the area between cf_MyTag and /cf_MyTag.
Here is a simplified example: I the following output: Hello World, I
do want to display this sentence.
### Calling script ###:
cf_MyTag
Try saving the content in a variable first.
cfset content = thistag.generatedContent
then clear the content.
cfset thistag.generatedContent =
then do your replacement.
cfoutput#ReplaceNoCase(content, 'do NOT',
'do')#/cfoutput
- Original Message -
From: Jamie Jackson [EMAIL
7 matches
Mail list logo