User Guide

Table Of Contents
238 Chapter 10: Building and Using ColdFusion Components
Using the ColdFusion component browser
You can also browse the components available in ColdFusion using the component browser,
which is located at cf_root/wwwroot/CFIDE/componentutils/componentdoc.cfm.
The browser has three panes:
The upper-left pane lists all CFC packages that ColdFusion can access, and has all components
and refresh links.
The lower-left pane lists CFC component names. When the browser first appears, or when you
click the all components link in the upper pane, the lower pane lists all available components.
If you click a package name in the upper left pane, the lower pane lists only the components in
the package.
The right pane initially lists the paths of all components. When you click a component name
in the lower-left pane, the right pane shows the ColdFusion introspection page, as described in
“Requesting a component page from the browser” on page 237.
Using the Dreamweaver MX 2004 component panel
The Dreamweaver MX 2004 Components panel lists all available components, including their
methods, method parameters, and properties. The panels context menu includes options to
create a new component, edit the selected component, insert code to invoke the component, or
show detailed information on the component or component element. The Get description option
shows the ColdFusion introspection page, as described in “Requesting a component page from
the browser” on page 237. For more information on viewing and editing CFCs in Dreamweaver
MX 2004, see the Dreamweaver MX 2004 online help.
Using the GetMetaData function
The CFML
GetMetaData function returns a structure that contains all the metadata of a CFC
instance. This structure contains substantially more data about the CFC than the
cfdump tag
shows, and includes the following information:
All attributes to the component tag, including any metadata-only attributes, plus the
component path.
An array of structures that contains complete information on each method (function) in the
component. This information describes all attributes, including metadata-only function and
parameter attributes.
multiply*
private numeric multiply ( numeric argA, numeric argB )
Output: enabled
Parameters:
argA: numeric, optional, argA
argB: numeric, optional, argB