MACROMEDIA CONTRIBUTE 3-DEPLOYING CONTRIBUTE Guia do Utilizador Página 80

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 142
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 79
80
Serena® Collage® 5.1.3
Chapter 3 Design-Time Component Reference
<nexus:component classid="nexus/components/IncludeAsset"
code="$nexusComponents" FindFile="styles.css">
<HEAD>
<!-- Include the stylesheet - authored by $node.metadata
("Author") -->
<LINK REL="stylesheets" TYPE="$node.mimetype"
HREF="$node.url">
</HEAD>
</nexus:component>
Example 3: Nesting the Include Asset Component in a
Select Component
You can nest an Include Asset component inside a Select component. To do so:
1
Close the IncludeAsset component with a complete </nexus:component> tag.
2
Include a
form=longform
attribute in the
IncludeAsset
tag. For example:
<nexus:component classid="nexus/components/Select" code="/System/
Components/nexusComponents.jar" select="$node.meta('Author')">
<nexus:select "Brian">
<nexus:component classid="nexus/components/IncludeAsset"
code="/System/Components/nexusComponents.jar"
relative="Page1.html" form="longform">
</nexus:component>
</nexus:select>
</nexus:component>
For more information on the Select component, see "Select" on page 107.
Masterpage Body
The Masterpage Body component allows you to define the location on a master page
where you want Collage to merge content. Wherever you insert the Masterpage Body
component, Collage will replace the component with the content from assets that use the
master page when you preview or publish those assets.
How to Insert a Masterpage Body Component
Follow the instructions below to insert a Masterpage Body component, either in
Dreamweaver, or manually using your HTML editor.
Dreamweaver
1
In Dreamweaver, place the insertion point where you want to insert the component.
2
Click Window | Objects to display the Objects palette.
Vista de página 79
1 2 ... 75 76 77 78 79 80 81 82 83 84 85 ... 141 142

Comentários a estes Manuais

Sem comentários