Adobe Dreamweaver CC 2015 Bedienungsanleitung Seite 685

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 700
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 684
678
Building applications visually
Last updated 6/3/2015
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 .
Define dynamic content by using a CFC
You can define a recordset as a source of dynamic content in Dreamweaver by using a CFC that contains a recordset
definition.
1.In the Name box, enter a name for the CFC recordset.
A common practice is to add the prefix rs to recordset names to distinguish them from other object names in the code,
for example: rsPressRelease.
Recordset names must contain only alphanumeric characters and underscores (_). You cannot use special characters
or spaces.
2.Select a package from the ones already defined on the server.
Seitenansicht 684
1 2 ... 680 681 682 683 684 685 686 687 688 689 690 ... 699 700

Kommentare zu diesen Handbüchern

Keine Kommentare