on 10-07-2005 9:42 AM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.