MACROMEDIA CONTRIBUTE 3-DEPLOYING CONTRIBUTE Betriebsanweisung Seite 51

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 142
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 50
AssetQuery
Components User's Guide
51
Querying for Properties and Metadata
The following is an example AssetQuery component with a complete AssetQuery body,
including prelog and prolog sections.
<nexus:component classid="nexus/components/AssetQuery"
code="$nexusComponents"
root="/Website/Content" orderonmetadata="Product"
orderbycode="1AS">
<nexus:prelog>
<table>
<tr>
<td>Product Name</td>
<td>Asset Name</td>
<td>Actual Filename</td>
<td>Author's Name</td>
<td>Description</td>
<td>Filetype</td>
<td>Filesize</td>
</tr>
</nexus:prelog>
<tr /jointfilesconvert/339554/bgcolor="#DDDDDD">
<td>$node.meta('Product')</td>
<td><a href="$node.url">$node.name</a></td>
<td>$node.FileName</td>
<td>$node.meta('Author')</td>
<td>$node.Description</td>
<td>$node.MimeType</td>
<td>$node.Size</td>
</tr>
<nexus:prolog>
</table>
</nexus:prolog>
</nexus:component>
Opening tag
defines the
Prelog section
defines table
query
headers
Enables sorting
by the value of
the Product
metadata field
Sorts first by value of
Product metadata field, in
ascending order, then
by file size
Displays the asset
description, MIME
type, and file size
Prolog section
closes the table
Displays the value
of a metadata
field called
Author
Displays the
name of and
links to the
asset
Seitenansicht 50
1 2 ... 46 47 48 49 50 51 52 53 54 55 56 ... 141 142

Kommentare zu diesen Handbüchern

Keine Kommentare