Here's how I did it in FB4.1 and am doing right now in my first FB5 app. Fusebox.init.cfm <!--- Initialize application components. ---> <cflock timeout="30" throwontimeout="No" name="appcomponents" type="EXCLUSIVE"> <cfset application.AppName = createObject( 'component', ' appName.com.AppNameComponentName' ).init() /> </cflock>
Then have my components in /com No cfinclude necessary. Greg On 12/15/06, Chris Ditty <[EMAIL PROTECTED]> wrote: > > I am trying to write my first fusebox 5 app using MX7 and components. > I usually like to keep my functions in a seperate file in another > directory. When I try and do an include, I get an error saying that I > am missing a Fuse. > > I could include this function library in all my pages, but I would > rather it be called just once per fuse action. > > Any ideas? > > thanks > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264233 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

