Mark,

Yeah, that worked a treat.. I actually just created a new custom tag
path pointing to the CFC directory for the app.. I can see problems with
that with multiple apps and components with the same name.

Darryl 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mark
Stanton
Posted At: Monday, 1 March 2004 2:17 PM
Posted To: CFAussie
Conversation: [cfaussie] RE: Web Service and "cannot find component"
error
Subject: [cfaussie] RE: Web Service and "cannot find component" error


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

---
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