RE: CF Rules on including Application.cfm

2006-08-21 Thread Munson, Jacob
It is as simple as you stated. If you run a .cfm file, ColdFusion looks for an Application.cfm file in it's directory, and in the parent application's root directory. It will run both of those (assuming there is a lower level directory Application.cfm file) -Original Message- From:

RE: CF Rules on including Application.cfm

2006-08-21 Thread Everett, Al \(NIH/NIGMS\) [C]
Rules on including Application.cfm It is as simple as you stated. If you run a .cfm file, ColdFusion looks for an Application.cfm file in it's directory, and in the parent application's root directory. It will run both of those (assuming there is a lower level directory Application.cfm file

Re: CF Rules on including Application.cfm

2006-08-21 Thread Eric Haskins
http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/appfra11.htm Might help Eric On 8/21/06, Robertson-Ravo, Neil (RX) [EMAIL PROTECTED] wrote: Hi, Does anyone know what the rules are for ColdFusion including Application.cfm? I mean, it cannot be as simple as you have requested a

RE: CF Rules on including Application.cfm

2006-08-21 Thread Munson, Jacob
Ah, good to know. I thought it ran both, but anything done in the local one overrides the stuff in the root file. Anyway, I'm not sure how they'd do that, now that I think about it. So that makes sense (that it only runs the local one). -Original Message- From: Everett, Al

Re: CF Rules on including Application.cfm

2006-08-21 Thread Kris Jones
Al is correct. Once it finds an Application.cfm, it stops looking. And, it will continue to traverse up the directory tree to find one, beyond the web root all the way to the drive root. (At least that's what they say in the book. I haven't tried it.) An Application.cfc will take precedence. If an

Re: CF Rules on including Application.cfm

2006-08-21 Thread Claude Schneegans
CF looks for an Application.cfm in the current template's directory. If one isn't found it looks in the next higher directory and keeps moving up the directory tree until it finds an Application.cfm or reaches the root directory. It never runs more than one Application.cfm unless you do something

Re: CF Rules on including Application.cfm

2006-08-21 Thread Robertson-Ravo, Neil (RX)
- From: Claude Schneegans To: CF-Talk Sent: Mon Aug 21 19:17:58 2006 Subject: Re: CF Rules on including Application.cfm CF looks for an Application.cfm in the current template's directory. If one isn't found it looks in the next higher directory and keeps moving up the directory tree until