Your CFML engine will search for CFCs in a particular order first.  The 
reason why the Dashboard CFCs are found is that the first search path is 
*relative* to your index.cfm file (where your Mach-II request come in).

I suspect your file structure is:

|-- flinders
      |-- webapps
            |-- edss
                  |-- index.cfm
                  |-- MachII
                  |-- MachIIDashboard
                  |-- model

Since all your Mach-II request are coming in at index.cfm -- it's 
looking for MachIIDashboard.* relative from the index.cfm file.

You could use an application specific mapping if you are using CF8 (yes, 
8), Railo or OpenBD.  Or you could change the paths to "models.users"

Best,
.Peter

jarthel said the following on 09/11/2009 04:38 AM:
> I guess the point of the thread is how can I simulate dashboar's
> "relative" paths in its cfc. I am using full path (all the way from
> webroot (e.g. cfc is located in /flinders/webapps/edss/models/
> users.cfc. so I referenced users.cfc by
> flinders.webapps.edss.models.users) to get my cfc files working.
> >
>   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to Mach-II for CFML list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/mach-ii-for-coldfusion?hl=en
SVN: http://greatbiztoolsllc.svn.cvsdude.com/mach-ii/
Wiki / Documentation / Tickets: 
http://greatbiztoolsllc.trac.cvsdude.com/mach-ii/
-~----------~----~----~----~------~----~------~--~---

Reply via email to