cancel
Showing results for 
Search instead for 
Did you mean: 

Error while creating N-level TLN

Former Member
0 Kudos

Hi,

I created the SimpleNLevelNavigation iView by using the par created as per the instructions given in SDN community.

But when i try to run/preview the iView i am getting the following error,

Portal Runtime Error

An exception occurred while processing a request for :

iView : pcd:portal_content/SimpleNLevelNavigation/frameworkpage/com.sap.portal.innerpage/NlevelNavigation

Component Name : SimpleNLevelNavigation.SimpleNLevelNavigation

Error in parsing taglib 'NavigationTagLibrary' tag in web.xml or .tld file of the taglib library..

Exception id: 03:00_29/04/06_0034

See the details for the exception ID in the log file

Kindly loo into the issue and help me out.

Thanks in advance, good responses will be aptly rewarded.

Guru.

Accepted Solutions (1)

Accepted Solutions (1)

Dan_Wroblewski
Developer Advocate
Developer Advocate
0 Kudos

Hi Guru,

I would imagine that you have a taglib line in your JSP, something like ...

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

... but you either don't have a NavigationTagLibrary property in your portalapp.xml or you have the wrong value for it or you don't have SP14 or greater.

Can you post your portalapp.xml and the start of your JSP?

Daniel

Former Member
0 Kudos

Hi Daniel,

Thanks for the reply.

Basically i want to customise the TLN bar. I want to have the first level and second level navigations in some other format compared to the standard SAP look and feel. Please suggest me for that what should i do?

I am using ep6 sp2.

My jsp's starting declarations are as follows;

<%@ page import = "com.sapportals.portal.navigation.*" %>

<%@ page import = "com.sapportals.portal.prt.resource.IResource" %>

<%@ page import = "com.sapportals.portal.prt.runtime.PortalRuntime" %>

<%@ page import = "com.sapportals.portal.navigation.INavigationGenerator" %>

<%@ page import = "com.sapportals.portal.prt.component.IPortalComponentRequest" %>

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

My portalapp.xml file looks like this -

<?xml version="1.0" encoding="utf-8"?>

<application>

<application-config>

<property name="Vendor" value="sap.com"/>

<property name="SecurityArea" value="NetWeaver.Portal"/>

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

<property name="PrivateSharingReference" value="com.sap.portal.htmlb"/>

</application-config>

<components>

<component name="SimpleNLevelNavigation">

<component-config>

<property name="SafetyLevel" value="no_safety"/>

<property name="EPCFLevel" value="0"/>

<property name="SecurityZone" value="com.sap.portal/no_safety"/>

<property name="ClassName" value="com.sap.portal.navigation.navigationtaglibrary.nlevelnavigation.SimpleNLevelNavigation"/>

</component-config>

<component-profile>

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

<property name="com.sap.portal.navigation.nlevelnavigation.depthLevel" value="3">

<property name="plainDescription" value="Inner recursion depth level:"/>

<property name="longDescription" value="Specifies the navigation hierarchy depthLevel from which the navigation tree displays its entries"/>

<property name="category" value="Navigation"/>

</property>

</component-profile>

</component>

</components>

<services/>

</application>

Thanks in advance,

Guru.

Dan_Wroblewski
Developer Advocate
Developer Advocate
0 Kudos

Hi Guru,

Unfortunately, the navigation tag library was introduced in SP14.

You can still modify the TLN, just not as easily. I would take the default TLN, whose rendering is given in a JSP, and work with this file to get what you want.

Daniel

Former Member
0 Kudos

Hey Daniel,

That's cool. Also, it will be great if you give me some code sample regarding the problem. Even if you have some sample for newer patches also you can give me that, it will certainly help me understand the problem.

Thanks you very much again,

Guru.

Dan_Wroblewski
Developer Advocate
Developer Advocate
0 Kudos

Hi Guru,

There are code samples in the portal developer guide at http://help.sap.com/saphelp_nw04/helpdata/en/42/f35146a7203255e10000000a1553f7/frameset.htm.

Hope this helps.

Daniel

Former Member
0 Kudos

Hi Daniel,

Thanks for the link. By basic problem is that i want to have some images in the background of the first level navigation links in the TLN and that should be say center aligned to the screen. The 2nd level should come as usual. Do you have any idea how to make that possible?

Please help,

Guru.

Answers (0)