<cfif thistag.executionmode is "end">
Do this
</cfif>

Will only do anything on the closing tag.
 

-----Original Message-----
From: Barney Boisvert [mailto:[EMAIL PROTECTED] 
Sent: 24 August 2005 18:34
To: CF-Talk
Subject: Re: Stupid custom tag question

Whoops, I screwed up.  I want to skip the body, but still execute the
closing tag.  So that should be method="goToJustBEFOREClosingTag". 
Not sure what I was thinking.  To complete the thought, method="exittag"
does what I described below, but that's NOT what I want.

On 8/24/05, Barney Boisvert <[EMAIL PROTECTED]> wrote:
> Is there a way to, in the opening tag of a custom tag, tell the custom 
> tag to skip evaluation of it's body?
> 
> <p:mytag>
>   i don't want to do this
> </p:mytag>
> 
> mytag.cfm:
> <cfif this.executionMode EQ "start">
>   <cfexit method="goToJustAfterClosingTag" /> </cfif>
> 
> Thanks,
> barneyb
> 
> --
> Barney Boisvert
> [EMAIL PROTECTED]
> 360.319.6145
> http://www.barneyb.com/
> 
> Got Gmail? I have 50 invites.
> 


--
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 50 invites.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216212
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to