Use CFEXIT inside a custom tag.
DC
----- Original Message -----
From: "Jay Jennings" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 19, 2000 01:08
Subject: CFABORT Weirdness
> I'm having a problem with cfabort that has me pulling my hair. I want to
> put a cfabort inside a custom tag so that the lines after the custom tag
> (in the calling template) never show up...but I want the lines _before_
> the cfabort _inside_ the custom tag to show up. Example:
>
> <!--- my customtag.cfm --->
> show this
> show this
> cfabort
>
> However, I can't get any text inside the custom tag to show if there's a
> cfabort anywhere inside there.
>
> I also tried having the custom tag set an error flag (caller.errflag =
> true) and checking for that after the custom tag gets 'done' before
> doing the cfabort (cfabort inside the calling template), but that
> doesn't work either -- the text inside the custom tag still doesn't
> show.
>
> Any pointers would be greatly appreciated.
>
> jay
>
>
> ------------------------------------------------------------------------
> ------
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
> or send a message to [EMAIL PROTECTED] with
> 'unsubscribe' in the body.
>
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.