Adobe Dreamweaver CC 2015 Bedienungsanleitung Seite 683

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 700
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 682
676
Building applications visually
Last updated 6/3/2015
If youre running ColdFusion MX 7 or later, filter the list to show only the CFCs located in your site folder.
Explore the functions and arguments of each component.
Inspect the properties of functions that serve as web services.
To use Dreamweaver to inspect CFCs residing in the server root while also managing your site files in a different website
root, you can define two Dreamweaver sites. Set the first site to point to the server root and the second to point to the
w
ebsite root. Use the site pop-up menu on the Files panel to switch quickly between the two sites.
To view CFCs in Dreamweaver, follow these steps:
1 Open any ColdFusion page in Dreamweaver.
2 In the Components panel (Window > Components), select CF Components from the pop-up menu.
3 Click the Refresh button in the panel to retrieve the components.
The components package is displayed on the server. A com
ponent package is a folder that contains CFC files.
If existing component packages do not appear, click the Refresh button in the panel toolbar.
4 To display only the CFCs located in your site folder, click the Show Only Current Sites CFCs button in the
Components panel toolbar.
Note: T
his feature is available only if youve defined a computer running ColdFusion MX 6 or later as a testing server
for Dreamweaver.
Note: I
f the current site is listed in a virtual folder on the remote server, the filtering does not work.
5 Click the Plus (+) button beside the package name to view the components stored in the package.
To list the functions of a component, click the Plus (+) button beside the component name.
To see the arguments a function takes, as well as the arguments type and whether they are required or optional,
open the functions branch in the tree view.
Functions that take no arguments have no Plus (+) button beside them.
To quickly view the details of an argument, a function, a component, or a package, select the item in the tree view,
and click the Get Details button in the panel toolbar.
You can also right-click (Windows) or Control-click (Macintosh) the item and select Get Details from the pop-up
men
u.
Details about the item are displayed in a message box.
Edit CFCs in Dreamweaver
Dreamweaver provides a streamlined way of editing the code of the ColdFusion components defined for your site. For
example, you can add, change, or delete any component function without leaving Dreamweaver.
To use this feature, your development environment must be set up as follows:
ColdFusion must be running locally.
In the advanced Site Definition dialog box in Dreamweaver, the Access type specified in the Testing Server category
must be Local/Network.
In the advanced Site Definition dialog box, the path of your local root folder must be the same as the path of the
testing server folder (for example, c:\Inetpub\wwwroot\cf_projects\myNewApp\). You can examine and change
these paths by selecting Site > Edit Sites.
The component must be stored in the local site folder or any of its subfolders on your hard disk.
Seitenansicht 682
1 2 ... 678 679 680 681 682 683 684 685 686 687 688 ... 699 700

Kommentare zu diesen Handbüchern

Keine Kommentare