This is not true. If you do <cf_foo> it will certainly NOT run twice.
It will only run twice if you  <cf_foo /> or <cf_foo></cf_foo>

On Wed, 21 Jul 2004 16:38:03 +0100, Robertson-Ravo, Neil (RX)
<[EMAIL PROTECTED]> wrote:
> You are getting this error as by default Custom Tags are called twice
> internally AFAIK..
>
>    _____
>
> From: Jamie Jackson [mailto:[EMAIL PROTECTED]
> Sent: 21 July 2004 16:25
> To: CF-Talk
> Subject: UDF within a Custom Tag
>
>
> I have had a problem a couple times when I've tried to put a UDF
> within a custom tag. CF insists that the function has been declared
> more than once. I figured this was because of the sort of doubling
> effect the start/end execution modes have, but the problem persists
> even when I have <cfif thistag.executionmode is "end"><cfexit
> method="exittag"></cfif> at the top of the custom tag. I think that
> when I've encountered this, I've had to remove the UDF, request-scope
> it, and put it in the general UDF library, even though it really is
> just a private method of the custom tag.
>
> Solutions?
>
> Thanks,
> Jamie
>
>    _____
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to