Show TOC

storeNavNodeLocate this document in the navigation structure

Use

Stores a navigation node so that it can later be recalled by the recallNavNode tag.

Attributes

Name

Mandatory

Description

id

No

The ID of the stored navigation node.

If no ID is specified, the navigation node is stored with the ID default .

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 iterates through the top-level nodes, storing the selected top-level node. The selected node is then recalled, and an iteration is started through the children of that node.

<ul>
<nav:iterateInitialNavNodes>
    <nav:ifNavNodeInSelectedPath>
        <li class="selectedLevel1">
            <nav:navNodeAnchor navigationMethod="byURL"/>
        </li>
        <% if(levels==2) { %>
            <nav:storeNavNode/>
        <% } %>
    </nav:ifNavNodeInSelectedPath>
    <nav:ifNotNavNodeInSelectedPath>
        <li class="unselectedLevel1">
            <nav:navNodeAnchor navigationMethod="byURL"/>
        </li>
    </nav:ifNotNavNodeInSelectedPath>
</nav:iterateInitialNavNodes>
</ul>
<nav:recallNavNode>
    <nav:ifNavNodeHasChildren>
        <ul>
        <nav:iterateNavNodeChildren>
            <nav:ifNavNodeInSelectedPath>
                <li class="selectedLevel2">
                    <nav:navNodeAnchor navigationMethod="byURL"/>
                </li>
            </nav:ifNavNodeInSelectedPath>
            <nav:ifNotNavNodeInSelectedPath>
                <li class="unselectedLevel2">
                    <nav:navNodeAnchor navigationMethod="byURL"/>
                </li>
            </nav:ifNotNavNodeInSelectedPath>
        </nav:iterateNavNodeChildren>
        </ul>
    </nav:ifNavNodeHasChildren>
</nav:recallNavNode>

         
More Information