How to retrieve nodes and sub nodes using the Navigation API ?

Solution Verified - Updated -

Issue

  • How to retrieve nodes and sub-nodes defined in the navigation.xml file using the public navigation API ?
  • While retrieving sub-nodes using the public navigation API,as below, it returns null.
Node node = navigation.getNode(NodePath.path("MySubNode")); 

Environment

  • Red Hat JBoss Portal (JPP)
    • 6.1.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content