on 08-04-2008 1:33 PM
Hello all.
I would appreciate it greatly if somebody could help me with some pointers on how to get information (in Java) on where a user is in the portal. The scenario is the following:
A user has navigated to some page in the portal (for example using a browser favorite) and I want to be able to render to the user what first and second level navigation menu points are selected/highligtet.
Is there a way to ask the portal for such information?
Thank you.
Hi Kim,
if you are using JSP you can easily render information about the navigation with the navigation taglib. Check the documentation:
http://help.sap.com/saphelp_nw04s/helpdata/en/42/f35146a7203255e10000000a1553f7/frameset.htm
An other possibility of course would be to directly access the NavigationService:
http://help.sap.com/saphelp_nw04/helpdata/en/43/d1233b4c1d0a85e10000000a1553f6/frameset.htm
Best regards,
Stefan Brauneis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Stefan.
Thanks for your answer.
I know the taglib but it does not do the trick in my case.
What I have ended up doing is using the IPortalComponentRequest to get the component context and then looked it up via the navigation service (that you also mention).
This can give me the second level navigation node.
Thanks for your help.
Kim
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.