No, it's quite relevant. 

>From the docs:
"If you use a cfinvoke or cfobject tag, or the CreateObject function, to
access the CFC from a CFML page, ColdFusion searches directories in the
following order: 
1. Local directory of the calling CFML page
2. Web root
3. Directories specified on the Custom Tag Paths page of ColdFusion MX
Administrator"

Note #2 - if it doesn't find it in the directory of the calling page, it
next starts at the web root and works from there. 

If the component is outside of the web root, you're out of luck without
a mapping - you can't do the equivalent of ../. All of the lookups are
forward only.

> -----Original Message-----
> From: Andy Matthews [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 05, 2007 2:36 PM
> To: CF-Talk
> Subject: RE: Referencing a CFC above the calling file.
> 
> Well, it's sort of irrelevant that it's outside the web root (or is
it).
> The
> important thing is that the CFC exists ABOVE the calling page. How can
you
> create a path using dot notation to a file that's above your calling
page?


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs 
http: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:268714
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