Show TOC

Background documentationnavNodeParent Locate this document in the navigation structure

 

Exposes the parent node of the current node.

If the current node is a top-level node, the body is not included.

Attributes

Name

Mandatory

Description

navNode

No

The name of the Java variable to create for holding the INavigationNode object for the parent node of the current node.

The variable is accessible in scriptlets in the body of the tag.

Variables

Name

Scope

Description

<navNode> attribute

Body of tag

INavigationNode object representing the parent node of the node exposed by the cooperating tag.

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 displays the title of all siblings of the launched node.

Syntax Syntax

  1. <nav:launchedNavNode>
        <nav:navNodeParent>
            <nav:iterateNavNodeChildren>
                <nav:navNodeTitle/>
            </nav:iterateNavNodeChildren>
        </nav:navNodeParent>
    </nav:launchedNavNode>
    
End of the code.