this what i do to play with encrypted custom tag output.

== index.cfm
<cf__parseoutput>
  <cfmodule template="sometemplate.cfm">
</cf__parseoutput>

<cfoutput>content</cfoutput>
== end

== _parseoutput ==
<CFIF ThisTag.ExecutionMode is 'end'>
  <cfset caller.content = ThisTag.GeneratedContent>
  <CFSET ThisTag.GeneratedContent = "">
</cfif>
== end

From: "Jim McAtee" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: CF-Talk <[EMAIL PROTECTED]>
Subject: Re: stripping output from Custom Tag
Date: Sat, 21 Oct 2000 17:28:33 -0600

 > Im using a tag from the Allaire Developers Exchange , it is being called
 > using CFMODULE.  This tag outputs a string of images, for some reason 
(bug
I
 > believe) after the images there is a </tr></table> being written out and
it
 > is screwing up my page layout.  Is there some way I can strip this off, 
Im
 > trying to get a demo up and running and probably wont have the
un-encrypted
 > source of this thing until probably Tuesday.

You could do this with a regex, but if the tag invariably tacks on that
exact string, then it would be easier to just chop it off.

<cfset s = "Some output string </tr></table>">
<cfset s = Left(s, Len(s) - 13)>

Jim

------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a 
message with 'unsubscribe' in the body to [EMAIL PROTECTED]

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.

------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]

Reply via email to