Show TOC

navNodeLocate this document in the navigation structure

Use

Exposes the navigation node with the name specified in the name attribute.

Note

The navNode tag does not function properly for merged nodes. For more information about merging nodes, see Merging Navigation Nodes and Defining the Sequence .

Attributes

Name

Mandatory

Description

navTarget

Yes

Specifies the name of the navigation node to expose.

The name is the same string as returned by the INavigationNode.getName() method. For example, specify ROLES://portal_content/myFolder/myRole to get the node that represents the role myRole in folder portal_content/myFolder .

navNode

No

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

The variable can be accessed in scriptlets in the body of the tag.

Variables

<navNode> attribute

No

A INavigationNode object representing the specified node

Example

The following creates a link for a set of navigation nodes, whose names are stored in a String array.

<% String[] targets = ... %>
...
<nav:navNode navTarget="<%=targets[6]%>">
    <nav:navNodeAnchor navigationMethod="byURL"/>
</nav:navNode>