Will,

Another approach would be to use <cfimport> which I personally prefer and it
is supposed to be a bit faster (I could be wrong). In addition to Ray's
suggestion, you can definitely do something like this if you do not want tag
to run twice

<cfif thisTag.ExecutionMode eq 'start'>
             your code goes here
</cfif>

HTH

On 3/2/07, Janet MacKay <[EMAIL PROTECTED]> wrote:
>
> >And, if you don't want your tag to run twice, add
> ><cfexit method="exittag">
> >to the end of your custom tag.
>
> I never knew about that one.  I just tried it. Sure enough .. the tag runs
> twice without the <cfexit method="exittag">.  Learn something new everyday.
>
> Thanks for the tip!
>
> Janet
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271388
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to