Show TOC Start of Content Area

Background documentation doNotRecurseNavNodeChildren  Locate the document in its SAP Library structure

Indicates that the children of the current node should not be included in the recursive iteration in a recurseNavNodeChildren tag.

Cooperating Tags

The tag must be nested in the following tag:

·        recurseNavNodeChildren

Example

The following creates a detailed navigation iView and displays the navigation tree starting at a specified level. Each node can be displayed as either open (its children are also displayed) or closed (its children are not displayed).

The recurseNavNodeChildren tag starts a depth-first traversal through all nodes below the current node. If a node is closed, its children are not displayed. The doNotRecurseNavNodeChildren tag is used to skip the traversal through the children nodes of the current node and prevent these children nodes from being displayed.

<TABLE Width='100%' Class="lightDTNTable">

    <nav:iterateSelectedNavNodesLevel level="<%=strStartLevel%>"
     currentNavNode="currentRoot">


         ...

 

    <nav:recurseNavNodeChildren currentDepth="currentDepth"
     currentNavNode="currentNavNode">

    <% 
         ... Determine if node has children

 

        if(!nodeIsOpen) {

            %><nav:doNotRecurseNavNodeChildren/><%

        } %>

        <TR Style="{text-indent:

         ... Display Node

 

        <TR/>

    </nav:recurseNavNodeChildren>

    </nav:iterateSelectedNavNodesLevel>

</TABLE>

See Also

·        recurseNavNodeChildren

 

End of Content Area