cancel
Showing results for 
Search instead for 
Did you mean: 

NavigationTagLibrary

Former Member
0 Kudos

Hello,

I'm trying to use the navigation tag library as mentioned on http://help.sap.com/saphelp_nw04/helpdata/en/4d/ddd62fd0154a769ce97ccad8d6528c/frameset.htm

I've added

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

to my application-config and

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

to my component profile.

When I try to access the taglibrary using

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

the portal throws the following exception:

Caused by: com.sapportals.portal.prt.servlets_jsp.server.jsp.ParseException: Error in parsing taglib 'NavigationTagLibrary' tag in web.xml or .tld file of the taglib library.
at com.sapportals.portal.prt.servlets_jsp.server.jsp.syntax.JspTaglibDirective.verifyAttributes(JspTaglibDirective.java(Compiled Code))
at com.sapportals.portal.prt.servlets_jsp.server.jsp.syntax.JspDirective.parse0(JspDirective.java:162)
at com.sapportals.portal.prt.servlets_jsp.server.jsp.syntax.JspDirective.parse(JspDirective.java:117)
at com.sapportals.portal.prt.servlets_jsp.server.jsp.syntax.ElementCollection.parse(ElementCollection.java(Compiled Code))
at com.sapportals.portal.prt.servlets_jsp.server.jsp.syntax.ParserImpl.parse(ParserImpl.java(Inlined Compiled Code))
at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPParser.parse(JSPParser.java(Compiled Code))
at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.compile(JSPCompiler.java(Compiled Code))
at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.run(JSPCompiler.java(Inlined Compiled Code))
at com.sapportals.portal.prt.core.broker.JSPComponentItem.compileJSP(JSPComponentItem.java(Compiled Code))

Has anyone gotten this to work?

Kind regards

Mattias

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello,

thank you, of course it should be a "taglibrary" in there. However I still can't get it to work, but I rewrote the application using the navigation service.

Dan_Wroblewski
Developer Advocate
Developer Advocate
0 Kudos

Hi Mattias,

You have an SP14 portal?

Daniel

Former Member
0 Kudos

Hi Daniel,

Hello, no, we're still on SP13. Do I need SP14 for the navigation tag library?

Regards Mattias

Dan_Wroblewski
Developer Advocate
Developer Advocate
0 Kudos

Hi Mattias,

Yes. The Navigation Tag Library is part of the External Facing Portal set of features, which was released in SP14.

Hope this helps.

Daniel

Former Member
0 Kudos

Hi Mattias,

Try this one.

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

This may work as this is the normal format used for refering taglibs.

Ranjith