Again, just to clarify:

/test/index.cfm is calling

/test/test2/stuff.cfc

with:
stuffObj = createObject('component','test2/stuff');

Technically, a proper writing would be: test.test2.stuff, but if you look 
at what I just wrote, this doesn't match what you described.

~Todd




On Mon, 12 Aug 2002, Raymond Camden wrote:

> This is not a bug. When we say a CFC can be relative to /, this means
> the full address can begin there. That probably didn't make sense. Let
> me rephrase. If I pass a path of foo.goo.moo, it's going to try
> webroot/foo/goo/moo.cfc, MAPPINGS/foo/goo/moo.cfc, and
> CUSTOMTAGROOT/foo/goo/moo.cfc, ALONG WITH a relative check from the
> current directory. So, for example, if I am in folder /foo/goo, I can
> invoke a CFC called moo.cfc by just saying "moo" - that is because moo
> is in the same folder. If there were a subfolder called zoo, I could do
> either foo.goo.zoo.theCFC or zoo.theCFC.
> 
> =======================================================================
> Raymond Camden, ColdFusion Jedi Master for Macromedia
> 
> Email    : [EMAIL PROTECTED]
> Yahoo IM : cfjedimaster
> 
> "My ally is the Force, and a powerful ally it is." - Yoda 
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
> > Sent: Monday, August 12, 2002 8:37 AM
> > To: CF-Talk
> > Subject: RE: Relative CFCs, why is it working?
> > 
> > 
> > Nothing to do with default mapping for /, if you look in this 
> > example, I'm 
> > actually 1 directory away from '/' and I'm calling a CFC 
> > relative to that 
> > directory (not from root).
> > 
> > I could be wrong, but ... this isn't making any sense to me.
> > 
> > ~Todd
> > 
> > 
> > On Mon, 12 Aug 2002, Robertson-Ravo, Neil (REC) wrote:
> > 
> > > anything to do with the fact that by defaul a mapping exists for
> > > c:\cfusionmx\wwwroot ?
> > > 
> > > Neil
> > > 
> > > just grabbing here.. but I would be interested to know.
> > > 
> > 
> > --
> > ============================================================
> > Todd Rafferty ([EMAIL PROTECTED]) - http://www.web-rat.com/ |
> >         Team Macromedia Volunteer for ColdFusion           |
> > http://www.macromedia.com/support/forums/team_macromedia/  |
> > http://www.flashCFM.com/   - webRat (Moderator)            |
> > http://www.ultrashock.com/ - webRat (Back-end Moderator)   |
> > ============================================================
> > 
> > 
> 
______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to