Skip to Content
0
Former Member
Apr 29, 2009 at 01:08 PM

Framework Tag

23 Views

I'm trying to create a custom Toolbar which contains a Refresh icon - I am trying to do this using the tag libraries FrameworkTagLibrary and NavigationTagLibrary.

I have created a jsp file which has the taglib references for both libraries. Then it has a table containing the necessary refresh tag: frm:pageRefreshAnchor.

I modified the portalapp.xml file to include the following:

<application-config> 
  <property name="SharingReference" value="com.sap.portal.pagebuilder"/>
</application-config>
<components>
  <component name="Toolbar">
     <component-config>
          <property name="ClassName" value="com.sapportals.portal.navigation.PageToolbar"/>
          <property name="ResourceBundleName" value="pagetoolbar_nls"/>
          <property name="SafetyLevel" value="no_safety"/>
     </component-config>
     <component-profile>
          <property name="EPCFLevel" value="0"/>
          <property name="NavigationTagLibrary" value="/SERVICE/com.sap.portal.htmlb/taglib/htmlb.tld "/>
          <property name="FrameworkTagLibrary" value="/SERVICE/com.sap.portal.pagebuilder/taglib/framework.tld"/>
     </component-profile>
  </component>
</components>
<services/>
</application>

However I keep getting the following error:

Caused by: java.lang.NoClassDefFoundError: com.sap.portal.common.activation.ActivationState

Could someone please point me in the right direction for creating a custom Toolbar and/or using the Tag Libraries? I am already using the SAP Library references on using Tag Libraries but am still apparently missing something!