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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.