Visually creating a component in Dreamweaver

Visually creating a component in Dreamweaver

You can use Dreamweaver to visually define a ColdFusion component and its functions. Dreamweaver creates a .cfc file and inserts the necessary CFML tags for you.

To create a ColdFusion component visually:

  1. Open a ColdFusion page in Dreamweaver.
  2. In the Components panel (Window > Components), select CF Components from the pop-up menu.
  3. On the Components panel, click the Plus (+) button.

    The Create Component dialog box opens.

  4. Complete the dialog box and click OK.

    For more information, see Setting the Create Component dialog box options.

Dreamweaver writes a .cfc file and saves it in the folder you specified. The new component also appears in the Components panel (after clicking Refresh).

To remove a component, you must delete the .cfc file manually from the server.

Related topics

  • About ColdFusion components
  • Viewing ColdFusion components in Dreamweaver
  • Editing ColdFusion components in Dreamweaver
  • Building web pages that use ColdFusion components

Getting Started with Dreamweaver
Dreamweaver Basics
Working with Dreamweaver Sites
Laying Out Pages
Adding Content to Pages
Working with Page Code
Preparing to Build Dynamic Sites
Making Pages Dynamic
Developing Applications Rapidly
Building ColdFusion Applications Rapidly
Building ASP.NET Applications Rapidly
Building ASP and JSP Applications Rapidly