Quantcast
Viewing all articles
Browse latest Browse all 2686

Custom TLN - Subscribe to special navigation event

Hi all,

 

I built a custom Top Level Navigation with the SAP Navigation Tag Library.

Everything works fine when navigating because normally the TLN doesn't change items, when a link is clicked in DTN (as pages are subpages of the corresponding TLN item).

 

But when I press e.g. a portal favorite link, the TLN has to change if the navigation item is a subitem  of another TLN item. Even this works fine, as I subscribe to the "Navigate" event by using:

 

EPCM.subscribeEvent("urn:com.sapportals:navigation", "Navigate", refreshTln);

 

So the JS method refreshTln is called which refreshs the TLN items with an AJAX request to the actual Navigation Target.

 

But my TLN doesn't refresh if a link like the following is called:

 

http://<portal server>/irj/servlet/prt/portal/prteventname/Navigate/prtroot/pcd!3aportal_content!2f<pcd path>!2fdesign!2fep!2fframeworkPages!2fcom.sap.portal.frameworkpage!2fcom.sap.portal.innerpage?ExecuteLocally=true&NavigationTarget=navurl://be78da1828ac4ee0a07b9c19bebfe227&NavigationContext=navurl://be78da1828ac4ee0a07b9c19bebfe227

 

Does anybody know which event I can subscribe to, to get information about changes?

 

 

Thanks a lot in advance

Joschi


Viewing all articles
Browse latest Browse all 2686

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>