MACROMEDIA CONTRIBUTE 3-DEPLOYING CONTRIBUTE Guida Utente Pagina 68

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 142
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 67
68
Serena® Collage® 5.1.3
Chapter 3 Design-Time Component Reference
The body section can consist of three sections, an optional prelog, the database records,
and an optional prolog:
<nexus:prelog>
<--HTML-->
</nexus:prelog>
<--HTML to display the records-->
<nexus:prolog>
<--HTML-->
</nexus:prolog>
The Prelog and Prolog Sections
The prelog section can optionally be used to define HTML which will precede the display of
the query results. For example, you can use it to define a header for a table which will
display the database fields:
<nexus:prelog>
<table cellpadding="6" cellspacing="0" bordercolor="#688AA6"
border="2">
<tr>
<td>Name</td>
<td>Position</td>
</tr>
</nexus:prelog>
The prolog section can then be used to close any HTML tags which were opened in the
prelog section. For example, to simply complete the table which the above example prelog
created:
<nexus:prolog>
</table>
</nexus:prelog>
The Database Records Section
The database records section outputs HTML for each row in the result set. This section
defines any HTML to apply to items in each of the columns in a row. For example, if the
query results include a set of rows with 4 columns, you can define unique HTML for the
value in each of the columns. By default, the component will generate the same HTML for
the column values in each of the rows.
Vedere la pagina 67
1 2 ... 63 64 65 66 67 68 69 70 71 72 73 ... 141 142

Commenti su questo manuale

Nessun commento