cancel
Showing results for 
Search instead for 
Did you mean: 

nav:navNode navigation

Former Member
0 Kudos

Hi all,

i am trying to make something very little, but for some reason it doesn't work.

And it looks like i have fullfill all things, that make it to work.

But probably i am not doing something correct. And i wonder what is it? If someone can help me?

i write this in the jsp file:

<nav:navNode navTarget="ROLES://portal_content/MyFolder/.../ViewName">
	<nav:navNodeAnchor 
		navigationMethod="byURL" 
		urlParameters="?myPar=1" 
		anchorAttributes="class='my'" 
		title="my link"/>
</nav:navNode>

and in the jsp file there is also this in the beging:

<%@ taglib uri="NavigationTagLibrary" prefix="nav" %>

and in the portalapp.xml file:

<property name="SharingReference" value="com.sap.portal.navigation.navigationtaglibrary"/>

<property name="NavigationTagLibrary" value="/SERVICE/com.sap.portal.navigation.navigationtaglibrary/taglib/TagLibrary.tld"/>

And all this doesn't show me link.

I tried and other tags like: iterateSelectedNavNodesLevel for example and they work. But this one doesn't work.

If some can help me?

Thank you in advance.

BR

Accepted Solutions (1)

Accepted Solutions (1)

former_member182372
Active Contributor
0 Kudos

Hi Diana,

Try to launch in browser http://<server>:<port>/irj/portal?NavigationTarget=ROLES://portal_content/MyFolder/.../ViewName (same as you have in navTarget). Does it launch correct navigation node?

Best regards, Maksim Rashchynski.

Former Member
0 Kudos

Hi

I did this advice above , and it opens it in the browser.

What next?

Thank you.

BR

Message was edited by:

Diana Dimitrova

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Can you try this one:

<nav:navNode navTarget="ROLES://portal_content/MyFolder/.../ViewName">
	<nav:navNodeAnchor 
		navigationMethod="byURL" 
		urlParameters="myPar=1" 
		anchorAttributes="class='my'" 
		title="my link"/>
</nav:navNode>

Regards,

Satyajit.

Former Member
0 Kudos

hi Satyajit,

i tried it. It doesn't show the link.

Thank you

BR