Skip to Content
Former Member
May 13, 2009 at 11:51 AM

WPC - XSLT helpers



Is there anyone who has got experience in creating an own xslt helper?

I created an own xslt helper (just took the standard XsltHelperRuntimeLight and uploaded it under an own package).

I did the mapping in config. (System admin - System Config - KM - CM - WPC - editor - XSLT Helpers)

Now I'm getting the following error when I execute. Did I forget something?

Cannot render container : 
Could not load class: required for extension library. 
-> java.lang.ClassNotFoundException: 
------------------------- Loader Info ------------------------- 
ClassLoader name: [com.sapportals.portal.prt.util.ApplicationClassLoader@18d88c3] 
Parent loader name: [com.sapportals.portal.prt.util.ApplicationClassLoader@10e631f] 
References: not registered! Resources: D:\usr\sap\NWD\JC00\j2ee\cluster\server0\apps\\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps\\private\lib\ 

It seems my class isn't loaded..

I used this code to import my class in the xsl file

<xsl:stylesheet version="1.0"   

And this one to use it

<span class="wpcnew"><xsl:value-of disable-output-escaping="yes" select="test_wpc:getString('', string(document/@locale))"/></span>

When I use a standard class in stead of mine, it works perfectly. So I assume it's a class mapping issue or my class isn't loaded at all.

Thanks for any help, thoughts or information about this topic!