I missed that one.  It belongs after the "/" mapping, before custom tag
paths.  Apologies for the oversight.

Also worth mentioning is that CF will only scan until it finds the first
package the CFC could belong to, regardless of whether the CFC can be found
in that package's directory.  So if you've got a 'cfc' directory under the
"/" mapping, but 'profile.cfc' file you want to call is in a custom tag
path, it'll NEVER get found, because once CF finds the 'cfc' directory under
the mapping, it'll stop.

Cheers,
barneyb

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Ben Curtis
> Sent: Thursday, June 17, 2004 1:56 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [CFCDev] Why does this work in one environment 
> and not another?
> 
> 
> > CF will look in these places:
> >
> >  - The 'cfc' subdirectory of the template's directory
> >  - In the directory specified by the "/cfc" mapping (if one exists)
> >  - in the 'cfc' subdirectory of the directory specified by the "/" 
> > mapping
> > (if one exists)
> >  - in the 'cfc' subdirectory of each custom tag directory
> 
> When is the webroot searched? (I.e., when does CF find the 
> {webroot}/cfc/profile.cfc ?)
> 
> -- 
> 
>       Ben Curtis
>       WebSciences International
>       http://www.websciences.org/
>       v: (310) 478-6648
>       f: (310) 235-2067
> 
> 
> 
> 
> ----------------------------------------------------------
> You are subscribed to cfcdev. To unsubscribe, send an email
> to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' 
> in the message of the email.
> 
> CFCDev is run by CFCZone (www.cfczone.org) and supported
> by Mindtool, Corporation (www.mindtool.com).
> 
> An archive of the CFCDev list is available at 
> www.mail-archive.com/[EMAIL PROTECTED]
> 

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to