MACROMEDIA CONTRIBUTE 3-DEPLOYING CONTRIBUTE Guida Utente Pagina 97

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 142
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 96
NavMap
Components User's Guide
97
example, you might use the Navigation Bar component to generate a sub-menu of all
pages in one area, for example product details pages that all pertain to products of a
common type, and which are grouped together in your site structure. For detailed
information on the Navigation Bar component, see "Navigation Bar" on page 84.
The NavMap component returns information about all nodes in a site structure,
regardless of their relationship to the page that contains the component. This is ideal
for generating navigation features that will be identical across all pages. For example,
use the NavMap component to create top level navigation schemes, which site visitors
use to access different sections of a site. Then, within each section, use the
Navigation Bar component to generate navigation schemes for all of the pages in a
section.
Writing the NavMap Component
The NavMap component includes two sections, the tag, and the body. The tag identifies
the site structure file which the component will use to generate node information, and the
body determines what node information will be generated, and how it will be formatted or
processed. The body may include HTML which will display the links or node information, or
it can contain JavaScript which will process the node data in some other way.
Writing the NavMap Component Tag
In addition to the common tag properties for Design-Time components, the opening tag
specifies the path to the site structure (.site file) which Collage should use to generate
node information. A complete opening tag might look something like:
<nexus:component classid="nexus/components/NavMap"
code="$nexusComponents" dwcomptype="navmap" sitestructure="/
WebSite/Website.site">
In this example, based on the
sitestructure
property, Collage will use the Website.site
file to generate node information (as defined in the component body), when you preview
or deploy the page that contains the component.
See the following section for a complete description of all of the properties you can define
for the component tag.
NavMap Properties
Property Value Description
classid
Always set to
"nexus/
components/NavMap"
Points to the component class file inside the
nexusComponents.jar file that is needed to implement the
component. This property must always be set to
"nexus/
components/NavMap"
Vedere la pagina 96
1 2 ... 92 93 94 95 96 97 98 99 100 101 102 ... 141 142

Commenti su questo manuale

Nessun commento