Wednesday, December 06, 2006
How and Where to Use the Tag Library?
You can use any navigation tag like you use other JSP tags in your JSP pages. As usual, you create a portal components in a PAR file that contains all the JSP pages and a portalapp.xml file.
1) As you refer other tag library (i.e. htmlb, make sure you add the following tag library reference at the top of your JSP page:
<%@ taglib uri="NavigationTagLibrary" prefix="nav" %>
2) Go to the portalapp.xml file, add the following:
<property name="SharingReference" value="com.sap.portal.navigation.navigationtaglibrary"/>
as a sharing reference in "application-config".
and
as a shring reference in "component-profile".
Labels: Portal