Viewing ColdFusion components in Dreamweaver
Dreamweaver provides a way to visually examine the ColdFusion components defined for your
site. Dreamweaver reads the .cfc files located on the server and displays information about them
in an easy-to-navigate tree view in the Components panel.
Note: Dreamweaver looks for the components on your testing server (see
dynamic pages can be processed" on page
server, change the testing server settings.
You can view any of the following information about your CF components:
•
List all the ColdFusion components defined for the site.
•
Explore the functions and arguments of each component.
•
Inspect the properties of functions that serve as web services.
To view the ColdFusion components in Dreamweaver:
Open any ColdFusion page in Dreamweaver.
1
In the Components panel (Window > Components), select CF Components from the
2
pop-up menu.
Click the Refresh button on the panel to retrieve the components.
3
Dreamweaver displays the component packages on the server. A component package is a folder
that contains CFC files.
If existing component packages do not appear, click the Refresh button on the panel toolbar.
Click the Plus (+) button beside the package name to view the components stored in
4
the package.
To list the functions of a component, click the Plus (+) button beside the component name.
To see the arguments a function takes, as well as the arguments' type and whether they are
required or optional, open the function's branch in the tree view.
Functions that take no arguments have no Plus (+) button beside them.
To quickly view the details of an argument, a function, a component, or a package, select
the item in the tree view, then click the Get Details button on the panel toolbar.
You can also right-click (Windows) or Control-click (Macintosh) the item and select Get
Details from the pop-up menu.
Dreamweaver displays details about the item in a message box.
Related topics
•
"About ColdFusion components" on page 573
•
"Visually creating a component in Dreamweaver" on page 574
•
"Building web pages that use ColdFusion components" on page 577
461). If you want to view components located on another
Viewing ColdFusion components in Dreamweaver
"Specifying where
575
Need help?
Do you have a question about the DREAMWEAVER MX 2004-USING DREAMWEAVER and is the answer not in the manual?
Questions and answers