You can refer to them as #caller.somefunctioname()# in a customtag, assuming
they were defined in either the application.cfm or the calling template.  It
is possible to set the UDFs into the request scope as well.

DC

----- Original Message -----
From: "Wagner Patrick" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, July 11, 2001 11:25
Subject: Define and Call UD-Functions


> Hi there!
>
> I just started playing around with the UserDefined-functions in CF5 and
> found a strange issue making it nearly impossible to
> get any value of it.
>
> For example when defining "global"-functions in the application.cfm there
> seems to be no way to use these in a "sub"-called customtag.
> Is there a possiblity to reference the function created on top within the
> customtag without defining it new?
>
> Or simply, is there a way to make the functions available in the
> request-(scope)?
>
>
> Best Regards
>
> Patrick Wagner
> Application Engineer
> conceptware ag
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to