Using a CFC recordset as a source of dynamic content

Using a CFC recordset as a source of dynamic content

You can use a ColdFusion component (CFC) as a source of dynamic content for your pages if the component contains a function defining a recordset. For more information on creating this kind of CFC, see Defining a recordset in a ColdFusion component.

This feature is only available if you have access to a computer running ColdFusion MX 7 or later. For more information, see Enabling the ColdFusion enhancements.

To use a CFC recordset as a source of dynamic content:

  1. Open a ColdFusion page in Dreamweaver.
  2. In the Bindings panel (Window > Bindings), click the Plus (+) button and select Recordset (Query) from the pop-up menu.

    The Recordset dialog box appears. You can work in either the simple or the advanced Recordset dialog box.

  3. Click the CFC Query button.

    The CFC query dialog box appears.

  4. Complete the dialog box.

    For instructions, click the Help button in the dialog box.

  5. Click OK to close the CFC Query dialog box, and then click OK again to add the CFC recordset to the list of available content sources in the Bindings panel.
  6. Use the Bindings panel to bind the recordset to various page elements.

    For more information, see Adding Dynamic Content to Web Pages.

Related topics

  • Defining a recordset in a ColdFusion component


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
Reference
Building ASP.NET Applications Rapidly
Building ASP and JSP Applications Rapidly
 
ASPTreeView.com
 
Evaluation has №У»ЩµµТВЕ·expired.
Info...