618541
675
Zoom out
Zoom in
Previous page
1/691
Next page
668
Building applications visually
Last updated 2/19/2015
Open any ColdFusion page in Dreamweaver and display the components in the Components panel. To display the
components, open the Components panel (Window > Components), select CF Components from the panel’s pop-up
menu, and click the Refresh button on the panel.
Because ColdFusion is running locally, Dreamweaver displays component packages on your hard disk.
Use the following procedure to edit a component.
1 Open any ColdFusion page in Dreamweaver and display the components in the Components panel (Window >
Components).
2 Select CF Components from the panels pop-up menu, and click the Refresh button on the panel.
Because ColdFusion is running locally, Dreamweaver displays component packages on your hard disk.
Note: To edit the CFC recordset visually, double-click it in the Bindings panel.
3 To edit a component file generally, open the package and double-click the component name in the tree view.
The components file opens in Code view.
4 To edit a specific function, argument, or property, double-click the item in the tree view.
5 Make your changes by hand in Code view.
6 Save the file (File > Save).
7 To see any new function in the Components panel, refresh the view by clicking the Refresh button on the panel
toolbar.
Build web pages that use CFCs
One way to use a component function in your web pages is to write code in the page that invokes the function when
the page is requested. You can use Dreamweaver to help you write this code.
Note: For other ways to use components, see the ColdFusion documentation from within Dreamweaver (Help > Using
ColdFusion).
1 In Dreamweaver, open the ColdFusion page that will use the component function.
2 Switch to Code view (View > Code).
3 Open the Components panel (Window > Components), and select CF Components from the panel’s pop-up menu.
4 Find the component you want and insert it using one of the following techniques:
Drag a function from the tree view to the page. Code is inserted in the page to invoke the function.
Select the function in the panel and click the Insert button on the panel toolbar (the second button on the right).
Dreamweaver inserts the code in the page at the insertion point.
5 If you insert a function that has arguments, complete the argument code by hand.
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.
675


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 - 2014 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 - 2014 in the language / languages: English as an attachment in your email.

The manual is 24,32 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 - 2014

Adobe Dreamweaver CC - 2014 User Manual - German - 731 pages

Adobe Dreamweaver CC - 2014 User Manual - Dutch - 718 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