I am wondering if anyone has run into the problem I describe below and found a 
resolution that doesn't involve moving files around. 

The following is exemplar of my setup. 
  COLDFUSION MAPPING: C:\root (as /root)
  CUSTOMTAG PATH:     C:\root\cfcs

I have the CFCs with the following methods: 
 package a
  myComponent
   init(): myComponent
   setMyOtherComponent(a.b.myOtherComponent cfcmyOtherComponent): void

 package a.b
  myOtherComponent
  myOtherComponentFactory
   init(): myOtherComponentFactory
   createMyOtherComponent(): myOtherComponent

>From a .cfm page I can create the CFCs: 
  cfcAMyComponent = createObject("component", "a.myComponent").init()
  cfcABMyOtherComponentFactory = createObject
   ("component", "a.b.myOtherComponentFactory").init()

But then this does not work 
  cfcAMyComponent.setMyOtherComponent
    (cfcABMyOtherComponentFactory.createMyOtherComponent())

This seems to be because Coldfusion sees the return value of 
createMyOtherComponent as being of type: 
  root.cfcs.a.b.myOtherComponent

If I remove the Coldfusion Mapping this works; but, this is not a workable 
solution for what I'm doing. Any help is appreciated. 

Regards,

Matthew Lesko

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251669
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