Iterates through the nodes (one on each level) that were selected by the user.
For example, if the user selects Content Administration → Users → Create User, the tag iterates through these three nodes.
During each iteration of the tag, a different node is exposed in the body of the tag, either via a cooperating tag that accesses the current node in the iteration or the scriptlet variable defined by the currentNavNode attribute.
For more information about the selected path, see Glossary.
Name |
Mandatory |
Description |
currentNavNode |
No |
The name of the Java variable to create for holding the INavigationNode object for the current node in the iteration. The variable is accessible in scriptlets in the body of the tag. |
direction |
No |
Indicates in what direction to iterate. The attribute can have the following values: · forward (default): Iterate from the first to the last node. · backward: Iterate from the last to the first node. |
Name |
Scope |
Description |
<currentNavNode> attribute |
Body of tag |
INavigationNode object representing the current node in the iteration. |
Cooperating Tags
The tag must be nested in one of the following tags:
· iterateInitialNavNodes
· iterateNavNodeChildren
· iterateNavNodesInSelectedPath
· iterateSelectedNavNodesLevel
· launchedNavNode
· navNode
· navNodeParent
· recallNavNode
· recurseNavNodeChildren
· selectedNavNode
The following creates a breadcrumb list of links to the nodes in the selected path.
<nav:iterateNavNodesInSelectedPath>
<nav:navNodeAnchor method="byURL"/>
<nav:ifHasMoreIterations>
... Display separator
</nav:ifHasMoreIterations>
</nav:iterateNavNodesInSelectedPath>
· iterateSelectedNavNodesLevel