I believe it should be

<cfinvoke Component="mySite.components.query">

Blum, Jason (SAA) wrote:

>Forta, New Riders and others all say that you can call put all your
>components in one folder and then reference them just as you would an
>include, style sheet, whatever.
>
>But I am absolutely stumped on how to do this.  Have followed their
>instructions very carefully and played with variations but cannot seem
>to do it.
>
>If
>/MySite/index.cfm
>
>wants to instate
>/MySite/components/Query.cfc
>
>then <CFINVOKE COMPONENT="components/Query"...
>works great.
>
>But going back up the directory structure, say from:
>
>/MySite/admin/index.cfm
><CFINVOKE COMPONENT="../components/Query"...
>
>seems to be impossible without setting up a mapping in CFAdmin...
>
>I've tried dot notation, forward slashes, backward slashes, from the
>wwwroot, from the root drive, ExpandPath, etc., etc....
>
>Anybody know what I am doing wrong???
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Reply via email to