Not CF's root dir, but one of these: Current folder Web root (I assume you meant web root, not really the cfusionmx root) A defined mapping
======================================================================= Raymond Camden, ColdFusion Jedi Master for Hire Email : [EMAIL PROTECTED] WWW : www.camdenfamily.com/morpheus Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda > -----Original Message----- > From: Marlon Moyer [mailto:marlon@;mcmoyer.com] > Sent: Tuesday, November 12, 2002 2:21 PM > To: CF-Talk > Subject: Re: Referencing component packages > > > Make sure that you're referencing from CF's root directory. Another > option if you have DWMX is to drag the component into your > code from the > Application-->Components toolbar > > Raymond Camden wrote: > > >Do not use / format. This is the second time I've seen this > used - any > >reason why? It's not in the docs. You should use foo.goo format where > >every item till the end is a folder name and the last item > is the CFC > >itself. > > > >============================================================= > ========== > >Raymond Camden, ColdFusion Jedi Master for Hire > > > >Email : [EMAIL PROTECTED] > >WWW : www.camdenfamily.com/morpheus > >Yahoo IM : morpheus > > > >"My ally is the Force, and a powerful ally it is." - Yoda > > > > > > > >>-----Original Message----- > >>From: Brook Davies [mailto:brook@;maracasmedia.com] > >>Sent: Tuesday, November 12, 2002 1:55 PM > >>To: CF-Talk > >>Subject: RE: Referencing component packages > >> > >> > >>Have you tried just /components/Query.... ? > >> > >>At 01:45 PM 12/11/02 -0500, you wrote: > >> > >> > >>>Yeah, that's what I would have thought. And that's > >>> > >>> > >>precisely that all > >> > >> > >>>the books and MX documentation say. But it isn't working for me... > >>> > >>>Thanks for the response though! > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>>-----Original Message----- > >>>From: Marlon Moyer [mailto:marlon@;mcmoyer.com] > >>>Sent: Tuesday, November 12, 2002 12:19 PM > >>>To: CF-Talk > >>>Subject: Re: Referencing component packages > >>> > >>>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

