Show TOC

ifNavNodeHasRelatedNavNodesLocate this document in the navigation structure

Use

Includes its body if the current node has related nodes.

Cooperating Tags

The tag must be nested in one of the following tags:

  • contextNavNode

  • iterateInitialNavNodes

  • iterateNavNodeChildren

  • iterateNavNodesInSelectedPath

  • iterateSelectedNavNodesLevel

  • launchedNavNode

  • navNode

  • navNodeParent

  • recallNavNode

  • recurseNavNodeChildren

  • selectedNavNode

Example

The following code displays a list of related links, if the current context node has related nodes.

            <nav:contextNavNode>
    <nav:ifNavNodeHasRelatedNavNodes>
        <ul>
        <nav:iterateRelatedNavNodes>
            <li class="relatedLink">
                <nav:relatedNavNodeAnchor navigationMethod="byURL"/>
            </li>
        </nav:iterateRelatedNavNodes>
        </ul>
    </nav:ifNavNodeHasRe