Quantcast
Channel: Adobe Community : Discussion List - ColdFusion
Viewing all articles
Browse latest Browse all 6243

error resolving CFC

$
0
0

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


Viewing all articles
Browse latest Browse all 6243

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>