Show TOC

Background documentationTypes of Tags Locate this document in the navigation structure

 

The navigation tag library contains the following types of tags:

  • Iterator: Iterates through a set of nodes, exposing in its body a different navigation node during each iteration.

  • Node: Exposes in its body a specific navigation node.

  • Operator: Performs an operation, such as storing a navigation node for later recall.

  • Rendering: Outputs HTML based on the currently exposed navigation node.

  • Conditional: Includes its body if a condition is true or false.

Iterator Tags

These tags enable you to iterate through a set of nodes, for example the top-level navigation nodes or the children of a node.

In the body of each tag, a different navigation node is exposed during each iteration. You can include cooperating tags - for example, navNodeAnchor for building a link from the current node - that work with the current node in the iteration.

The navigation tag library includes the following iterator tags:

Node Tags

These tags enable you to select a specific navigation node, such as the currently selected node or the parent of the current node.

In the body of each tag, the specific navigation node is exposed.

The navigation tag library includes the following node tags:

Operator Tags

These tags perform an operation, such as storing a node. Generally, these are closed tags.

The navigation tag library includes the following operator tags:

Rendering Tags

These tags output HTML to be displayed in the iView.

The navigation tag library includes the following rendering tags:

Conditional Tags

These tags enable you to include HTML or perform some action based on the currently exposed navigation node or the current user. A tag's body is included if the condition for that tag is true.

For example, you can check whether the current node is an iView node and, if it is, include an iView icon in the detailed navigation tree, as shown in the following:

Syntax Syntax

  1. <nav:selectedNavNode>
        <nav:ifNavNodeIsIView>
            ... include an icon ...
        </nav:ifNavNodeIsIView>
    </nav:selectedNavNode>
    
End of the code.

The navigation tag library includes the following conditional tags:

For most of the tags above, the tag library includes a second tag for checking whether the condition is false. For more information on these tags, see ifNot ....