I am having trouble referencing a CFC.
I have this in Application.cfc:
<cfset request.components = getDirectoryFromPath(getCurrentTemplatePath()) & "cfc" />
The cfcs are in the subdirectory wwwroot/cfc
I am trying to reference like this:
<cfinvoke
component="#request.components#.qry-todatabase"
method="qry_taxologyhierarchylistfornav"
returnvariable="qry_taxologyhierarchylistfornav"
taxologykey="#arguments.taxologykey#">
I hope you don't mind. No worries if you can't help.
Here is what I was looking at:
http://www.sitepoint.com/forums/showthread.php?695772-Invoking-CF-component-without-mappin g