MACROMEDIA CONTRIBUTE 3-DEPLOYING CONTRIBUTE Betriebsanweisung Seite 72

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 142
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 71
72
Serena® Collage® 5.1.3
Chapter 3 Design-Time Component Reference
When you deploy the asset that contains the Database Query component, Collage
generates the details page and replaces the
$node.detailsurl
macro with the
name of the details page.
Example Layout File Code
If the Database Query component retrieves a query that includes
Name
,
Position
,
Phone
, and
Email
fields for each row in the result set, the following code on the layout
page will display the values of each field:
<p><b>Name:</b> <nexus:field column="Name"/></p>
<p><b>Position:</b> <nexus:field column="Position"/></p>
<p><b>Phone:</b> <nexus:field column="Phone"/></p>
<p><b>Email:</b> <nexus:field column="Email"/></p>
When Collage deploys the asset that contains the Database Query component that links to
details pages which use this layout page, Collage generates each of the details pages and
replaces the
<nexus:field>
components with the actual field values. The generated
details for the example above may appear something like the following:
Seitenansicht 71
1 2 ... 67 68 69 70 71 72 73 74 75 76 77 ... 141 142

Kommentare zu diesen Handbüchern

Keine Kommentare