You could use an NTFS hardlink (junction) for this. I don't know the exact details, but it'd work.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mischa Uppelschoten ext 10 Sent: Tuesday, March 18, 2008 5:42 PM To: Web Site Subject: re[4]: [ACFUG Discuss] Using components on different websites Well, the fix didn't do it. I'm beginning to think bug. Problem #1 Create this cfc and point a virtual directory to it. The website root for the site containing the virtual directory has a different application.cfm than the website that has this test component in it's physical structure. <cfcomponent displayname="test component"> <cffunction name="TestFunction" output="No" returntype="string" access="remote"> <cfreturn application.applicationname> </cffunction> </cfcomponent> If this component is called directly: http://site2/Components/test.cfc?method=testfunction it returns the applicationname for site1, however, when used like so: <cfoutput> #createobject("Component", "site2.Components.Test").TestFunction()# </cfoutput> it returns site2. In my opionion the bug is not so much an unexpected outcome, but more an inconsistent one. Problem #2 A CFGrid tag on site2 with this bind attribute: bind="cfc:site2.Components.Test.TestFunction({cfgridpage}... generates this js in the rendered page: ColdFusion.Bind.cfcBindHandler(<snip>... :_cf_grid_errorhandler,'cfc':'/site1/Components/test.cfc','cfcFunction':'Test Function' ...<snip> On both occasions it appears the cf server traverses the physical path and uses that to resolve application.cfm which is different behavior than any other processed file. At this moment I see no workaround but forking my code :-( : : : > All, : : : > I'm running into an issue with CF8 and how components are bound to form : : : controls. Proper execution of one of my components depends on a value in : : the : : : session scope. : Well, supposedly it was a known issue: : "70775 ColdFusion Ajax components cannot access CFCs in a virtual directory." : per : http://kb.adobe.com/selfservice/viewContent.do?externalId=kb403070&sliceId=1. : Found while researching the url option. : If the hf does not work, I'll let you guys know. Thanks for your input! : Mischa. : ------------------------------------------------------------- : Annual Sponsor FigLeaf Software - http://www.figleaf.com : To unsubscribe from this list, manage your profile @ : http://www.acfug.org?fa Mischa Uppelschoten The Banker's Exchange, LLC. 4200 Highlands Parkway SE Suite A Smyrna, GA 30082-5198 Phone: (404) 605-0100 ext. 10 Fax: (404) 355-7930 Web: www.BankersX.com Follow this link for Instant Web Chat: http://www.bankersx.com/Contact/chat.cfm?Queue=MUPPELSCHOTEN ---------- Original Message ---------- FROM: Mischa Uppelschoten ext 10 <[EMAIL PROTECTED]> TO: Web Site <discussion@acfug.org> DATE: Tue, 18 Mar 2008 15:03:03 -0400 SUBJECT: re[3]: [ACFUG Discuss] Using components on different websites : : > All, : : > I'm running into an issue with CF8 and how components are bound to form : : controls. Proper execution of one of my components depends on a value in : the : : session scope. Well, supposedly it was a known issue: "70775 ColdFusion Ajax components cannot access CFCs in a virtual directory." per http://kb.adobe.com/selfservice/viewContent.do?externalId=kb403070&sliceId=1. Found while researching the url option. If the hf does not work, I'll let you guys know. Thanks for your input! Mischa. ------------------------------------------------------------- Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa ------------------------------------------------------------- Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=gin.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com ------------------------------------------------------------- ------------------------------------------------------------- Annual Sponsor FigLeaf Software - http://www.figleaf.com To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -------------------------------------------------------------