Here is my directory structure:

/MySite
        /config
        /webroot
                /model <- All CFCs live here
                /views
                /other_folders

The MySite folder has a cfmapping of the same name pointed to it.

Initially I was referencing all my CFC's as
createObject("component","MySite.model.CFCName") (they all live in the model
directory), but I found this broke when I used web services as you describe.
So I ended up just using createObject("component","CFCName").

Hope that helps - I don't know how to traverse directories - or whether that
would even work.


Cheers


Mark


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to