MACROMEDIA COLDFUSION MX 7.0.2-USING COLDFUSION MX WITH FLEX 2 Use Manual page 88

Table of Contents

Advertisement

Browsing components
The Service Browser lists the following components:
Components that the ColdFusion component browser lists
The ColdFusion component browser is located at cf_root/wwwroot/CFIDE/
componentutils/componentdoc.cfm.
Components that are located in any directories specified in the ColdFusion MX
Administrator Mappings page
Components that are located in any directories specified in the ColdFusion MX
Administrator Custom Tag paths page
You can restrict the list of CFCs according to whether the functions in a CFC are remote,
public, or private.
A sample element of the list appears as follows:
The first line of the listing contains the path. The second line includes the name of the CFC.
The next two lines contain the names of the functions in the CFC. The function name is
followed by any argument, a colon, then the type of the return value. The listing
echo(echoString):STRING indicates that the
, and that it returns a string. The myCFC CFC appears as follows:
echoString
<cfcomponent>
<cffunction name="echo" output="No" returntype="string">
<cfargument name="echoString" required="Yes">
<cfreturn "echo: #arguments[1]#">
</cffunction>
<cffunction name="getArtists" returntype="query" hint="query the database
and return the results.">
<cfquery name="artists" datasource="cfcodeexplorer">
select *
from artists
</cfquery>
<cfreturn artists>
</cffunction>
</cfcomponent>
88
Using the ColdFusion Extensions for Flex Builder
function has an argument named
echo

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion mx

Table of Contents