That only includes the UDF into the variables scope of the requested
page.  They won't be present in CFCs, custom tags, etc.

cheers,
barneyb

On 10/29/07, Dale Fraser <[EMAIL PROTECTED]> wrote:
> Yes you can,
>
> We do this via Application.cfc, using the following technique. The udf.cfm
> has all the common functions.
>
>         <!--- Request --->
>         <cffunction name="onRequest" returnType="void" output="true">
>                 <cfargument name="targetPage" type="string" required=true/>
>                 <cfinclude template="#arguments.targetPage#">
>         </cffunction>
>
>         <cfinclude template="/base/udf.cfm" />
>
> </cfcomponent>
>
> Regards
> Dale Fraser

-- 
Barney Boisvert
[EMAIL PROTECTED]
http://www.barneyb.com/

Got Gmail? I have 100 invites.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292295
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to