Someone may offer up a better solution but I would simply set a cfc path 
variable in the application scope and use VTI.Comps.Admin locally and 
Comps.Admin in production.

When you drag the component over... change the VTI.Comps.Admin to 
#applicaiton.cfcpath# or whatever so it picks it up automatically depending on 
the value of the variable on that server.

..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com

-----Original Message-----
From: Bruce Sorge [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 26, 2007 11:16 AM
To: CF-Talk
Subject: Component Question

I am re-writing a site that I have been maintaining for a while now. One of the 
things that I am doing is putting inline queries into Stored Procs, and also 
creating components for a lot of the stored procs. 

So when I create my CFC called Admin, in the Application/Components section of 
DW, it is VTI.Comps. When I drag a component to a page, the component is 
referenced as VTI.Comps.Admin. That works fine on my dev machine and my testing 
server. When I load the page to the live server, I have to drop the VTI. for it 
to work which is what I expect. What I want to do though is drop the VTI. on 
the local server. When I do that though I get a message Could Not Find 
Component Comps.Admin. How can I make this work so that I do not have to 
reference my components as VTI.Comps.Admin?

 

Thanks,

 

Bruce

 

 





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:282223
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to