Dreamweaver CS4 Resources
|
Use 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. Note: This feature is available
only if you have access to a computer running ColdFusion MX 7 or
later. For more information, see Enable the ColdFusion enhancements.
- Open a ColdFusion page in Dreamweaver.
- 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.
- Click the CFC Query button.
- Complete the CFC query dialog box, click OK, and then
click OK again to add the CFC recordset to the list of available
content sources in the Bindings panel.
- Use the Bindings panel to bind the recordset to various
page elements.
For more information, see Adding dynamic content to pages.
|