Show TOC

Background documentationifNavNodeHasRelatedNavNodes Locate this document in the navigation structure

 

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.

Syntax Syntax

  1. <nav:contextNavNode>
        <nav:ifNavNodeHasRelatedNavNodes>
            <ul>
            <nav:iterateRelatedNavNodes>
                <li class="relatedLink">
                    <nav:relatedNavNodeAnchor navigationMethod="byURL"/>
                </li>
            </nav:iterateRelatedNavNodes>
            </ul>
        </nav:ifNavNodeHasRe
    
End of the code.