cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to refer to custom resource bundle in WPC content rendered with xslt

Former Member
0 Kudos

Hi,

I need to use the resource bundle messages inside WPC content.

When rendered by standard xsl templates the call to XSLTHelper class is done to retrieve message from the standard SAP resource bundle com.sap.nw.wpc.bundles.core.properties, like this:


<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
			      xmlns:wpc="com.sap.nw.wpc.km.service.editor.hslt.XsltHelperCore">
......

<xsl:value-of select="wpc:getString([key defined in sap bundle], string(/document/@locale))"/>

The problem is that helper class doesn't provide any API to use custom bundles.

I tried to create xslt helper (including config in KM), but that didn't succeed neither. It would return with error NoClassDefFound.

Could you please help on configuring xslt helper and registering it with xslt rendering engine for Web Page Composer? I could not find any how-to guides on xslt helpers for WPC.

Thanks in advance.

Ruslan

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

Did you find a solution?

Christof