> paths to cfcs have to be absolute wite createObject() A pita for site
> portability, eh? There are ways around this. You could create a CF
> mapping called com to C:\Inetpub\wwwroot\com\. Then place your CFCs
> in there in teh 'Java way'
> C:\Inetpub\wwwroot\com\domainname\app1\mycfc.cfc
>
> Then all your CFC calls would be the same anywhere as
> com.domainname.app1.mycfc
>
> I sometimes set an application scoped var application.rootdir and use
> something like
> <cfset toolsobj =
> CreateObject("Component","#Replace(application.config.getAppRoot(),"/",".")#.pathtocfcs.inmy.app")
> />
>
> Doug
Okay...well...that kinda reeks.
I'm still a little confused, but I obviously have more to read, so rather
than complain here, I'll quietly go read what I need to get it to work.
Jeff,
confused
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198701
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