MACROMEDIA CONTRIBUTE 3-DEPLOYING CONTRIBUTE Guide de l'utilisateur Page 51

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 142
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 50
1 2 ... 46 47 48 49 50 51 52 53 54 55 56 ... 141 142

Commentaires sur ces manuels

Pas de commentaire