What about using isCustomFunction() or isFunction from
http://cflib.org/udf.cfm?ID=286
Qasim
----- Original Message -----
From: Jamie Jackson <[EMAIL PROTECTED]>
Date: Wed, 21 Jul 2004 11:51:39 -0400
Subject: Re: UDF within a Custom Tag
To: CF-Talk <[EMAIL PROTECTED]>
On Wed, 21 Jul 2004 16:38:03 +0100, in cf-talk you wrote:
>You are getting this error as by default Custom Tags are called twice
>internally AFAIK..
So are UDFs not allowed within Custom Tags?
I also tried wrapping the function declaration in a testing
conditional:
<cfif not isdefined("doOption")>
<cfscript>
function doOption() {
...
}
</cfscript>
</cfif>
But CF complains that doOption is a complex variable, and it can't
test for its definition. Is there a way to do an existence test on
UDFs, or is there a cleaner way to do UDFs in Custom Tags?
Thanks,
Jamie________________________________
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
- Re: UDF within a Custom Tag Raymond Camden
- Re: UDF within a Custom Tag Jamie Jackson
- Re: UDF within a Custom Tag Jamie Jackson
- RE: UDF within a Custom Tag Kola Oyedeji
- Re: UDF within a Custom Tag Jamie Jackson
- RE: UDF within a Custom Tag Robertson-Ravo, Neil (RX)
- Re: UDF within a Custom Tag Jamie Jackson
- Re: UDF within a Custom Tag Ben Doom
- Re: UDF within a Custom Tag Jamie Jackson
- Re: UDF within a Custom Tag Jamie Jackson
- Re: UDF within a Custom Tag Qasim Rasheed
- Re: UDF within a Custom Tag Jamie Jackson
- Re: UDF within a Custom Tag Qasim Rasheed
- Re: UDF within a Custom Ta... Brook Davies
- Re: UDF within a Custo... Claude Schneegans
- Re: UDF within a Custo... Jamie Jackson
- Re: UDF within a Custom Ta... Jamie Jackson
- Re: UDF within a Custom Tag Claude Schneegans
- Re: UDF within a Custom Ta... Jamie Jackson
- Re: UDF within a Custo... Raymond Camden
- Re: UDF within a Custo... Jamie Jackson