Questions tagged [cfc]

ColdFusion Components (CFCs) are objects in the ColdFusion environment. They are a collection of functions and properties.

ColdFusion Components (CFCs) are objects in the environment.

A component method is invoked in the following ways:

  • In the <cfinvoke> tag (Transient objects)

  • In the <cfobject> tag

  • In a URL that calls a CFC file and passes a method name as a URL parameter

  • By using createobject() in <cfscript> or in <cfset>

  • via web services

  • From code

Unlike normal ColdFusion files, CFCs have a .cfc extension.

463 questions
3
votes
0 answers

Coldfusion CFC defined in {} shorthand behaving weirdly

Weird behavior of cfc defined using shorthand: component { remote string function get() httpmethod="GET" returnformat="plain" { return "hello world"; } } compared to expected behavior defined this way:
signalhill
  • 31
  • 2
3
votes
1 answer

Populate HTML Table Data from CFC Query Results

I have an Ajax request that calls a CFC: Ajax: