MACROMEDIA CONTRIBUTE 3-DEPLOYING CONTRIBUTE Guida Utente Pagina 66

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 142
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 65
66
Serena® Collage® 5.1.3
Chapter 3 Design-Time Component Reference
See the following section for a complete description of all of the properties you can define
for the component tag.
Database Query Properties
Property Value Description
classid
Always set to
"nexus/
components/DBQuery"
Points to the component class file inside the
nexusComponents.jar file that is needed to implement the
component. This property is required.
code
Always set to the path in
Collage to the
nexusComponents.jar file
The archive where the component class file is stored. By
default, this is stored in:
/
root
/System/Components/
nexusComponents.jar
. You can also set this property to:
code="$nexusComponents"
which will resolve to the
correct path.
datasource Path
Specifies the path to the data source asset (.nds file) in
Collage which Collage will use to connect to the database.
This path is absolute, from the root of the Collage project.
For example:
datasource="/System/Data%20Sources/
Company%20Database.nds"
layout
Path Defines the path in Collage to a layout file which Collage will
use as a template for linked detail pages. For example, if this
property is set to:
layout="\System\WebSite\emp_details.htm"
And the following line is defined in the body of the
component:
<a href="$node.detailsurl">
$node.column("Name")</a>
Then the value of the
Name
column for each returned row will
be linked to a details page which uses the emp_details.htm
layout file, which then determines which additional fields
from the linked row are displayed, and how they are
formatted. See "Generating and Linking to Details Pages" on
page 70.
max
Number Specifies the maximum number of rows that will be returned
in the query result.
Vedere la pagina 65
1 2 ... 61 62 63 64 65 66 67 68 69 70 71 ... 141 142

Commenti su questo manuale

Nessun commento