> you likely want to use something like:
>
> <cfif thisTag.ExecutionMode is 'start'>
> ...etc to restrict the execution to only occuring once

BTW this is particularly handy if you want to nest calls to custom tags e.g.
<cf_tag1>
    <cf_tag2>
</cf_tag1>
but are using cfmodule to call the tag. As all closing cfmodules look the
same, the inner tags need to be closed, i.e.:
<cfmodule template="tag1.cfm">
    <cfmodule template="tag2.cfm"/>
</cfmodule>
But you don't want the code for the inner tags to run twice so you do the
<cfif thisTag.ExecutionMode is 'start'> trick.

Matthew Walker
Electric Sheep Web
http://www.electricsheep.co.nz/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to