618540
701
Zoom out
Zoom in
Previous page
1/721
Next page
694
Building applications visually
Last updated 11/30/2015
For more information, see the ColdFusion documentation from within Dreamweaver (Help > Using ColdFusion).
6 Save the page (File > Save).
Define a recordset in a CFC
Dreamweaver can help you define a recordset (also known as a ColdFusion query) in a ColdFusion component (CFC).
By defining a recordset in a CFC, you don’t need to define the recordset on each page that uses it. You define the
recordset once in the CFC and use the CFC on different pages.
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 .
1 Create or open an existing CFC file 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 boxes.
3 To use an existing function in the CFC, select the function from the Function pop-up menu and skip to step 5.
The recordset is defined in the function.
4 To define a new function in the CFC, click the New Function button, enter a name for the function in the dialog box
that appears, and then click OK.
The name must contain only alphanumeric characters and underscores (_).
5 To define a recordset for the function, complete the Recordset dialog box options.
The new function is inserted into the CFC that defines the recordset.
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.
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.
4 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.
5 Use the Bindings panel to bind the recordset to various page elements.
For more information, see Adding dynamic content to pages .
701


Need help? Post your question in this forum.

Forumrules


Report abuse

Libble takes abuse of its services very seriously. We're committed to dealing with such abuse according to the laws in your country of residence. When you submit a report, we'll investigate it and take the appropriate action. We'll get back to you only if we require additional details or have more information to share.

Product:

For example, Anti-Semitic content, racist content, or material that could result in a violent physical act.

For example, a credit card number, a personal identification number, or an unlisted home address. Note that email addresses and full names are not considered private information.

Forumrules

To achieve meaningful questions, we apply the following rules:

Register

Register getting emails for Adobe Dreamweaver CC - 2015 at:


You will receive an email to register for one or both of the options.


Get your user manual by e-mail

Enter your email address to receive the manual of Adobe Dreamweaver CC - 2015 in the language / languages: English as an attachment in your email.

The manual is 17,43 mb in size.

 

You will receive the manual in your email within minutes. If you have not received an email, then probably have entered the wrong email address or your mailbox is too full. In addition, it may be that your ISP may have a maximum size for emails to receive.

Others manual(s) of Adobe Dreamweaver CC - 2015

Adobe Dreamweaver CC - 2015 User Manual - German - 837 pages

Adobe Dreamweaver CC - 2015 User Manual - Dutch - 826 pages


The manual is sent by email. Check your email

If you have not received an email with the manual within fifteen minutes, it may be that you have a entered a wrong email address or that your ISP has set a maximum size to receive email that is smaller than the size of the manual.

The email address you have provided is not correct.

Please check the email address and correct it.

Your question is posted on this page

Would you like to receive an email when new answers and questions are posted? Please enter your email address.



Info