Show TOC Start of Content Area

Background documentation ifNavNodeEqualsLaunchedNavNode  Locate the document in its SAP Library structure

Includes its body if the current node is the node that was launched during the most recent navigation.

For example, when creating a detailed navigation iView, you may want to bold the navigation node that is currently launched. You can add code to bold the current node in the  ifNavNodeEqualsLaunchedNavNode tag during an iteration through all the navigation nodes.

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 current node in the iteration with a different style depending on whether the node is the launched node.

<nav:ifNavNodeEqualsLaunchedNavNode>

    <nav:navNodeAnchor navigationMethod="byURL"
     urlParameters="<%=urlParameters%>"
     anchorAttributes="class='lightDTNTextSelected'"/>

</nav:ifNavNodeEqualsLaunchedNavNode>

<nav:ifNotNavNodeEqualsLaunchedNavNode>

    <nav:navNodeAnchor navigationMethod="byURL"
     urlParameters="<%=urlParameters%>"
     anchorAttributes="class='lightDTNText'"/>

</nav:ifNotNavNodeEqualsLaunchedNavNode>

See Also

·        ifNot ...

 

 

End of Content Area