Show TOC Start of Content Area

Background documentation ifNavNodeInSelectedPath  Locate the document in its SAP Library structure

Includes its body if the current node is one of the nodes in the path of selected nodes.

The node is in the selected path if it is the selected node, or the parent of the selected node, or the grandparent of the selected node, and so forth. For more information about the selected path, see Glossary.

Cooperating Tags

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

·        iterateInitialNavNodes

·        iterateNavNodeChildren

·        iterateNavNodesInSelectedPath

·        iterateSelectedNavNodesLevel

·        launchedNavNode

·        navNode

·        navNodeParent

·        recallNavNode

·        recurseNavNodeChildren

·        selectedNavNode

 

Example

The following displays the top-level navigation nodes and displays in a special style the initial node in the selected path.

<nav:iterateInitialNavNodes>

    <nav:ifNavNodeInSelectedPath>

        <TD nowrap class="chosenTDLevel1">

            <nav:navNodeAnchor navigationMethod="byURL"
             anchorAttributes="class='chosenOnLevel1'"/>

        </TD>

        <% if(levels==2) { %>

            <nav:storeNavNode/>

        <% } %>

    </nav:ifNavNodeInSelectedPath>

    <nav:ifNotNavNodeInSelectedPath>

        <TD nowrap class="unChosenTDLevel1">

            <nav:navNodeAnchor navigationMethod="byURL"
             anchorAttributes="class='unChosenOnLevel1'"/>

        </TD>

    </nav:ifNotNavNodeInSelectedPath>

</nav:iterateInitialNavNodes>

See Also

·        ifNot ...

End of Content Area