Show TOC

Background documentationHow to Use the Framework Tag Library Locate this document in the navigation structure

 

The framework tag library enables you to build navigation iViews based on JSP pages, which are deployed to the portal as portal components in a PAR file that contains the JSP page and a portalapp.xml file.

For more information on writing JSP pages for the portal, see Writing JSP Pages.

Referencing the Tag Library

To use navigation tags in a JSP page, do the following:

  1. At the top of the JSP page, add a reference to the tag library, as follows:

    Syntax Syntax

    1. <%@ taglib uri="FrameworkTagLibrary" prefix="frm"%>
    End of the code.
  2. In the portalapp.xml file:

    1. Add a sharing reference in the <application-config> element:

      Syntax Syntax

      1. <property name="SharingReference"
            value="com.sap.portal.pagebuilder"/>
        
      End of the code.
    2. Add a reference to the tag library by adding the following property to the <component-profile> element for the JSP component:

      Syntax Syntax

      1. <property name="FrameworkTagLibrary"
            value="/SERVICE/com.sap.portal.pagebuilder/taglib/framework.tld"/>
        
      End of the code.