You can do:
<cfif thisTag.executionMode eq "Start">
Do Nothing
<cfelse>
Do your work
</cfif>
Barney Boisvert wrote:
>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.
>>
>>
>>
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking
application. Start tracking and documenting hours spent on a project or with a
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216213
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54