Re: CF Mappings

2007-10-24 Thread Brian Kotek
You can on CF8. Otherwise you'll have to maintain two copies and adjust the paths used by the applications accordingly. Though I don't really see why you want to maintain a central set of files and at the same time not have the changes applied everywhere. It sounds like you don't really want

RE: CF Mappings

2007-10-24 Thread Peterson, Chris
If you have Coldfusion 8, you can create per-application mappings. Otherwise, you can make sub-folders inside your mappings. For example, I have a 'com' mapping. Then I make domain / company based subfolders, so I can have: Com.qualcomm Com.pcMiler Com.gainey You get the idea =) Chris

Re: CF Mappings

2007-10-24 Thread Dominic Watson
Absolutely you can have independant mappings. I would have 1 mapping for components that should be shared between applications (in there own directory on the server). Then have individual mappings per application to a folder within the app root that has application specific components. Dom On

Re: CF Mappings

2007-10-24 Thread Web Exp
Hi Chris, Can you explain what a com mapping is and how I can create it. I am using CF 7.0.2 Also, how will the CF Applications know which mapping to go to? On 10/24/07, Peterson, Chris [EMAIL PROTECTED] wrote: If you have Coldfusion 8, you can create per-application mappings. Otherwise, you

RE: CF mappings and wierdness

2005-03-25 Thread Dave Watts
is /com a reserved mapping or something? I wouldn't be surprised if it is reserved in some sense. running CFMX 6.1 on JRun J2EE way. What are you running on your dev server? Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber

Re: CF mappings and wierdness

2005-03-25 Thread Douglas Knudsen
running exact same setup on our dev box as in production...excpet for one thing, the JVM version is newer on the dev server, 1.4.2_05. THis 'shouldn't' have an effect thouhg. So, how do most folks setup a dir for CFCs? Make a customtag directory instead and have a com directory in it?

RE: CF mappings

2003-07-04 Thread Adrian Lynch
06:17 To: CF-Talk Subject: Re: CF mappings Is there any way to inspect mappings set up on the server without looking in the CFMX administrator? I'm pretty sure our hosting company has set a mapping up wrongly but I like to be able to say for sure rather than Hmm do you think you could check

RE: CF mappings

2003-07-04 Thread Matthew Walker
Awesome, thanks! -Original Message- From: Adrian Lynch [mailto:[EMAIL PROTECTED] Sent: Friday, 4 July 2003 9:27 p.m. To: CF-Talk Subject: RE: CF mappings Yup, you're right... cfobject action=create type=java class=coldfusion.server.ServiceFactory name

Re: CF mappings

2003-07-03 Thread S . Isaac Dealey
Is there any way to inspect mappings set up on the server without looking in the CFMX administrator? I'm pretty sure our hosting company has set a mapping up wrongly but I like to be able to say for sure rather than Hmm do you think you could check that? I thought they might be stored in

RE: CF Mappings

2002-10-11 Thread Everett, Al
Is there a way to programmitically change the directory mappings found in CF Administrator (CF5 and CFMX)? I would expect so, since the Administrator is written in CF. What's the key tag? CFREGISTRY? ~| Archives:

RE: CF Mappings

2002-01-11 Thread Aidan Whitehall
Excellent idea. We have a need for just such a solution - using the same graphic elements on the secure and non-secure sides of a site. A mapping would eliminate the need for duplicate copies of the files. This is what I use in all Application.cfm files. It allows you to create dynamic

RE: CF Mappings

2002-01-11 Thread Aidan Whitehall
Should have also mentioned... With the code from the previous e-mail, I write file references like this (they are all absolute, starting with the base web root or base ColdFusion mapping - I never use relative links any more). a href=#Request.Mappings.Webserver#somefolder/somefile.xxx img

Re: CF Mappings

2002-01-10 Thread Chris Norloff
Mappings aren't required (though the two default mappings might be). I just recently added a mapping for some error-handling code - it's nice to be able to include the code from ANYWHERE and let it rely on the mapping t o run. Otherwise, each code insertion would have to have the relative path

Re: CF Mappings

2002-01-10 Thread Chris Norloff
You CAN use them with cfinclude and cfmodule, but you don't have to. cfincl ude and cfmodule work fine with relative paths or by running in the current directory. I've found they don't work well with absolute paths (in my experience they' ll work sometimes but are not robust). Chris Norloff

Re: CF Mappings

2002-01-10 Thread Chris Norloff
-- Original Message -- from: Jennifer Larkin [EMAIL PROTECTED] There are some times where a mapping is an extremely good idea, like when you have two sites on the same server and there is a different webroot for each site but there are elements from one

RE: CF Mappings

2002-01-10 Thread Chris Norloff
: Billy Cravens [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 09, 2002 11:11 AM To: CF-Talk Subject: Re: CF Mappings Whether or not you wish to use mappings in your application. You'd use them in CFInclude and CFModule - Original Message - From: James Taavon [EMAIL PROTECTED

Re: CF Mappings

2002-01-09 Thread Billy Cravens
Whether or not you wish to use mappings in your application. You'd use them in CFInclude and CFModule - Original Message - From: James Taavon [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, January 09, 2002 11:53 AM Subject: CF Mappings What is the determining factor

Re: CF Mappings

2002-01-09 Thread Jim McAtee
Mostly if you need access to files or templates from CFINCLUDE and CFMODULE that are not accessible to CF through a relative path. Both tags use relative addressing to specify files, so you might have a situation where you can't get to a file using a relative path. For example, when you have

RE: CF Mappings

2002-01-09 Thread Shawn Grover
On that note, is it possible to declare mappings dynamically (from Application.cfm I'd imagine), without using the CF Admin interface? -Original Message- From: Billy Cravens [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 09, 2002 11:11 AM To: CF-Talk Subject: Re: CF Mappings

Re: CF Mappings

2002-01-09 Thread Jennifer Larkin
It can make some things easier. For instance, the webroot map will allow you to locate files relative to the root, making it easier to use modular code from different directories. You can also set up mappings to store design elements, so if you ever want to change design you can change the

RE: CF Mappings

2002-01-09 Thread James Taavon
Subject: Re: CF Mappings Whether or not you wish to use mappings in your application. You'd use them in CFInclude and CFModule - Original Message - From: James Taavon [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, January 09, 2002 11:53 AM Subject: CF Mappings What

RE: CF Mappings

2002-01-09 Thread James Taavon
I have the same webroot for each site, it is on the D: drive. -Original Message- From: Jennifer Larkin [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 09, 2002 1:34 PM To: CF-Talk Subject: Re: CF Mappings It can make some things easier. For instance, the webroot map will allow you

Re: CF Mappings

2002-01-09 Thread Billy Cravens
: James Taavon [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, January 09, 2002 12:41 PM Subject: RE: CF Mappings hmmm, ok. my question came about because i have two apps right now on CF 4.5 running on NT server. One works just fine, it has a mapping which I did not know of until

RE: CF Mappings

2002-01-09 Thread James Taavon
yes, i agree with you. The thing is, the files do exist. It works fine on my local CF server. -Original Message- From: Billy Cravens [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 09, 2002 1:48 PM To: CF-Talk Subject: Re: CF Mappings No, there is no need to set up a mapping

RE: CF Mappings

2002-01-09 Thread Mark Stewart
I use them specifically for cfincludes. Instead of referencing a template path as ../dir/dir/filename.cfm, you can reference it as /mapping/dir/dir/filename.cfm - much cleaner Mark -Original Message- From: James Taavon [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 09, 2002 12:54

RE: CF Mappings (New Problem)

2002-01-09 Thread James Taavon
, January 09, 2002 2:10 PM To: CF-Talk Subject: RE: CF Mappings I use them specifically for cfincludes. Instead of referencing a template path as ../dir/dir/filename.cfm, you can reference it as /mapping/dir/dir/filename.cfm - much cleaner Mark -Original Message- From: James Taavon [mailto

RE: CF Mappings

2002-01-09 Thread Jennifer Larkin
, is it possible to declare mappings dynamically (from Application.cfm I'd imagine), without using the CF Admin interface? -Original Message- From: Billy Cravens [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 09, 2002 11:11 AM To: CF-Talk Subject: Re: CF Mappings Whether or not you wish to use