romeogq wrote:
> Why does a trailing slash "<cfmodule blah blah blah
/>" cause it to be called twice?? I just waited 2 hours
debugging a site just to find out this was the issue.
As the documentation explains, custom tags are run at the
beginning and
the end of a tag call.
<cf_MyTag> //MyTag code run here.
</cf_MyTag> //MyTag code run here.
<cf_MyTag /> is just short had for the above, so the
MyTag code will be
run at the beginning and the end.
thistag.excecutionmode will tell you if the tag is running at
the start
of the end.