Skip to Content
0
Jun 08, 2005 at 04:10 PM

How to get the Title of Chosen FirstLevelNavNode on Server Side

18 Views

Hi there,

using

INavigationNode navNode = navHelperService.getCurrentLaunchNavNode(request);
while ((parentNode = navHelperService.getParentNode(navNode, request)) != null) {
  navNode = parentNode;
}

returns "almost" the top node in the navigation hierarchy (on which I can ask for the title).

"Almost" means, if a role R1 has a Workset WS1, which is the entry point, even then I'll get R1. What I want is WS1, which in fact is the NavNode to be seen on the TLN.

How can I achieve this elegantly?!

Thanks in advance

Detlev