MACROMEDIA CONTRIBUTE 3-DEPLOYING CONTRIBUTE Guida Utente Pagina 72

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 142
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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:
Vedere la pagina 71
1 2 ... 67 68 69 70 71 72 73 74 75 76 77 ... 141 142

Commenti su questo manuale

Nessun commento