on 09-11-2006 6:39 PM
My WebDynpro application is available from numerous portal roles/tabs. The WebDynpro application needs to know at runtime, which role the user is currently positioned on. I see many WebDynpro examples of how to retrieve ALL roles of a user. This technique is not what I need. Inside the WebDynpro application, I need to know which one, specific role that the user is positioned on in the portal when the application is invoked.
Any thoughts would be greatly appreciated.
Regards,
Kevin
Hi Kevin,
Check /thread/52194 [original link is broken]
Best regards, Maksim Rashchynski.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Maksim,
I will try this coding approach:
NavigationEventsHelperService navHelperService =
(NavigationEventsHelperService)PortalRuntime.getRuntimeResources().getService(NavigationEventsHelperService.KEY);
INavigationNode navNode = navHelperService.getNavNodesListForPath(request, "NavUnderEntryPoint").get(0);
String title = navNode.getTitle(request.getLocale());
I'm having difficulty determining JARs needed for this. I've found all, except the JAR needed for INavigationNode.
In what JAR is INavigationNode?
Thanks,
Kevin
Hello Kevin,
I am also writing an application that will need to know which role it was clicked on. I am getting a runtime error "NoClassDefFound" exception. Can you tell me what you put in the sharing reference? Did you have to any references in the servicereference too?
Thanks
Raj Balakrishnan
Message was edited by: Selvaraj Balakrishnan
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.