Hi
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 : com.sap.engine.lib.xml.util.NestedException: Could not load class: com.company.nw.wpc.km.service.editor.xslt.XsltHelperRuntimeLight required for extension library. -> java.lang.ClassNotFoundException: com.company.nw.wpc.km.service.editor.xslt.XsltHelperRuntimeLight ------------------------- 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\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps\com.sap.nw.wpc.core\private\lib\com.sap.nw.wpc.core_core.jar ---------------------------------------------------------------
It seems my class isn't loaded..
I used this code to import my class in the xsl file
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:test_wpc="com.company.nw.wpc.km.service.editor.xslt.XsltHelperRuntimeLight">
And this one to use it
<span class="wpcnew"><xsl:value-of disable-output-escaping="yes" select="test_wpc:getString('xsl.xmsg.new', 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!
Christof