You shouldn't be doing includes inside a fusebox application except
via the 'include' verb.  And note that the include verb does NOT
support arbitrary directories for the files it's including; you must
use a circuit, though it can be an implicit circuit.  Check the docs
for specifics.

If you want to use CFML to better effect, try wrapping you function
library in a CFC and then instantiating it into the Application scope
in onApplicationStart, fusebox.appinit.cfm, or the appinit global
fuseaction (or anywhere else equivalent).  Then you can reference the
CFC from anywhere, without having to include anything.

cheers,
barneyb

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
>

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

Got Gmail? I have 100 invites.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:264240
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