> it will run twice. I can't remember ever wanting to embed > a function within > a custom tag, but I would expect that you could use > ThisTag.ExecutionMode to > figure out whether to declare it:
> <cfif ThisTag.ExecutionMode is "start"> > <cffunction ...></cffunction> > </cfif> That works with MX. I don't use them either... not that way anyhow. But I tested it some when there was a thread about it here a while back. > Alternatively, you could simply put the functions in a CFC > or in a > persistent scope to get to them from within your custom > tag. Nah, he said he's using CF5. s. isaac dealey 954.522.6080 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://macromedia.breezecentral.com/p49777853/ http://www.sys-con.com/author/?id=4806 http://www.fusiontap.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204796 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

