RE: CFC pathing question

2006-11-07 Thread Dave Watts
Using your example, if I have abstractcomponent.cfm in the root of www_cfc and then i create folders to logically house other cfc's...how would I reference abstractcomponent.cfc from a subfolder? www_cfc abstractcomponent.cfc cybergirl ...girl.cfc I tried

CFC pathing question

2006-11-06 Thread Eric Roberts
I am bit new to CFC's...I have a qestion regarding how they are addressed. In Advanced ColdFusion, it says that if the directory is in the web root, you can address the cfc as com.cfcdirectory.cfc... What if we had a repository that was just above the webroot so that we have a common

RE: CFC pathing question

2006-11-06 Thread Russ
, November 06, 2006 9:30 AM To: CF-Talk Subject: CFC pathing question I am bit new to CFC's...I have a qestion regarding how they are addressed. In Advanced ColdFusion, it says that if the directory is in the web root, you can address the cfc as com.cfcdirectory.cfc... What if we had

Re: CFC pathing question

2006-11-06 Thread Teddy Payne
The path to a CFC is just a dot version of folder notation. Example: webroot/foo/components/bar.cfc woudl translate to foo.components.bar which would look like cfset fooObj = createObject(component,foo.components.bar) Makes sense? On 11/6/06, Eric Roberts [EMAIL PROTECTED] wrote: I am

Re: CFC pathing question

2006-11-06 Thread Will Tomlinson
It sounds like you'd use a mapping for this. Create a mapping in CFAdmin that routes to your repository, then reference it in your cfc calls. cfset APPLICATION.cartservice = CreateObject(component, yourmappingname.cartservice).init(dsn=application.settings.dsn) Will

RE: CFC pathing question

2006-11-06 Thread Ben Nadel
Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Eric Roberts [mailto:[EMAIL PROTECTED] Sent: Monday, November 06, 2006 9:30 AM To: CF-Talk Subject: CFC pathing question I am bit new to CFC's...I have a qestion

Re: CFC pathing question

2006-11-06 Thread Eric Roberts
Message- From: Eric Roberts [mailto:[EMAIL PROTECTED] Sent: Monday, November 06, 2006 9:30 AM To: CF-Talk Subject: CFC pathing question I am bit new to CFC's...I have a qestion regarding how they are addressed. In Advanced ColdFusion, it says that if the directory is in the web root, you can

Re: CFC pathing question

2006-11-06 Thread Eric Roberts
That much I understood. We are looking to create a repository that would reside outside of the webroot so that all of the sites can access it and thus we would have a single location to update and maintain. Eric The path to a CFC is just a dot version of folder notation. Example:

Re: CFC pathing question

2006-11-06 Thread Claude Schneegans
What is so bad about using a mapping to reach a non-webroot folder? 1. not every one has access to the Administrator, 2. once a mapping is set, it is available to all applications, which is not always what you want. We would really need some more attributes in the CFAPPLICATION tag, like

RE: CFC pathing question

2006-11-06 Thread Ben Nadel
- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: Monday, November 06, 2006 11:57 AM To: CF-Talk Subject: Re: CFC pathing question What is so bad about using a mapping to reach a non-webroot folder? 1. not every one has access to the Administrator, 2. once a mapping is set

Re: CFC pathing question

2006-11-06 Thread Claude Schneegans
Also, those CFAPPLICATION tag attributes are an AWESOME suggestion! Anyone aware of any place at Adobe's to make suggestions? -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this

Re: CFC pathing question

2006-11-06 Thread Eric Roberts
/ -Original Message- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: Monday, November 06, 2006 11:57 AM To: CF-Talk Subject: Re: CFC pathing question What is so bad about using a mapping to reach a non-webroot folder? 1. not every one has access to the Administrator, 2. once

RE: CFC pathing question

2006-11-06 Thread Ben Nadel
: Monday, November 06, 2006 12:09 PM To: CF-Talk Subject: Re: CFC pathing question Also, those CFAPPLICATION tag attributes are an AWESOME suggestion! Anyone aware of any place at Adobe's to make suggestions? -- ___ REUSE CODE! Use custom tags; See http

Re: CFC pathing question

2006-11-06 Thread Eric Roberts
, November 06, 2006 9:30 AM To: CF-Talk Subject: CFC pathing question I am bit new to CFC's...I have a qestion regarding how they are addressed. In Advanced ColdFusion, it says that if the directory is in the web root, you can address the cfc as com.cfcdirectory.cfc... What if we had a repository

RE: CFC pathing question

2006-11-06 Thread Ben Nadel
? www.bennadel.com/ask-ben/ -Original Message- From: Eric Roberts [mailto:[EMAIL PROTECTED] Sent: Monday, November 06, 2006 11:55 AM To: CF-Talk Subject: Re: CFC pathing question Ben... What is in the AbstractBaseComponent.cfc refernced in the article that one of the cfc's extends? Eric I know

Re: CFC pathing question

2006-11-06 Thread Claude Schneegans
I think http://www.adobe.com/go/wish is for suggestions and bugs. H. Looks like they don't appreciate suggestions there. This address redirects to http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform And there, what you get is Page Does Not Exist message :-( --

RE: CFC pathing question

2006-11-06 Thread Brad Wood
I get the Feature Request/Bug Report Form Maybe it was temporarily down. (?) ~Brad -Original Message- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: Monday, November 06, 2006 12:28 PM To: CF-Talk Subject: Re: CFC pathing question I think http://www.adobe.com/go/wish

Re: CFC pathing question

2006-11-06 Thread Eric Roberts
pathing question Ben... What is in the AbstractBaseComponent.cfc refernced in the article that one of the cfc's extends? Eric the web root, you can address the cfc as com.cfcdirectory.cfc... What if we had a repository that was just above the webroot so that we have a common repository

Re: CFC pathing question

2006-11-06 Thread Eric Roberts
- From: Eric Roberts [mailto:[EMAIL PROTECTED] Sent: Monday, November 06, 2006 11:55 AM To: CF-Talk Subject: Re: CFC pathing question Ben... What is in the AbstractBaseComponent.cfc refernced in the article that one of the cfc's extends? Eric the web root, you can address the cfc

Re: CFC pathing question

2006-11-06 Thread Claude Schneegans
Maybe it was temporarily down. (?) Then, where can I make the suggestion that they say Tempararily down instead of File not found? ;-) But you're right, the site is back again. I made the suggestion. Thanks. -- ___ REUSE CODE! Use custom tags; See

RE: CFC pathing question

2006-11-06 Thread Ben Nadel
Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Eric Roberts [mailto:[EMAIL PROTECTED] Sent: Monday, November 06, 2006 2:07 PM To: CF-Talk Subject: Re: CFC pathing question Got a question for you