navNode

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

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 is accessible in scriptlets in the body of the tag.

Variables

< navNode > attribute

No

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 method="byURL"/>

</nav:navNode>