Skip to main content
Participant
July 22, 2014
Question

error resolving CFC

  • July 22, 2014
  • 0 replies
  • 201 views

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

This topic has been closed for replies.