Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

error resolving CFC

New Here ,
Jul 22, 2014 Jul 22, 2014

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

182
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation
Resources