One suggestion would be to invoke the CFC in only one location (if at all
possible). I invoke my CFCs in the Application file into the APPLICATION
scope. Then I just call them like so:

<cfset myImage = APPLICATION.imageObj.methodName()>

<!----------------//------
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--------------//--------->

-----Original Message-----
From: Aaron Roberson [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 27, 2006 4:24 PM
To: CF-Talk
Subject: Question about Component Paths


The first time I uploaded my site (this is the first site I've built
using CFC's) I had to rush through all the files with invoke
statements and change the paths to my components. On my development
machine it is whmedia.componentdirectory.componentname but on the
server it is just componentdirectory.componentname.

Any ideas or suggestions on streamlining this so that I don't have to
update multiple files every time I upload to the remote server?

Thanks in advance,
Aaron



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238980
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to