Cfcomponent - MACROMEDIA COLDFUSION MX 61-CFML Reference

Cfml reference
Hide thumbs Also See for COLDFUSION MX 61-CFML:
Table of Contents

Advertisement

cfcomponent

Description
Creates and defines a component object; encloses functionality that you build in CFML and
enclose within
cffunction
methods. Code within the body of this tag, other than
component is instantiated.
A component file has the extension CFC and is stored in any directory of an application.
A component method is invoked in the following ways:
Within the
cfinvoke
Within a URL that calls a CFC file and passes a method name as a URL parameter
Within the
cfscript
As a web service
From Flash code
Category
Extensibility tags
Syntax
<cfcomponent
extends ="anotherComponent"
output = "yes" or "no"
displayname = "text string">
hint = "text string">
variable declarations
<cffunction ...>
...
</cffunction>
<cffunction ...>
...
</cffunction>
</cfcomponent>
See also
cfargument, cffunction, cfinvoke, cfinvokeargument, cfobject, cfproperty,
Chapter 11, "Building and Using ColdFusion Components,"
cfreturn,
ColdFusion MX Applications
tags. This tag contains one or more
tag in a ColdFusion page
tag
cffunction
tags, is executed when the
cffunction
in Developing
tags that define
cfcomponent
85

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion mx

Table of Contents