Hello everyone,
I have got a weird problem at a customer of mine. I have developed some custom web forms according to the document "How To... Create new Web Forms" (http://scn.sap.com/docs/DOC-22253). Everything worked fine until I realized that transforming links is not possible the way it is described in the document.
Below, you see the example given in the document mentioned above. If I include that into my XSLT-document and try to create some content later on, external links such as http://www.google.com are transformed correctly, however, internal links starting with "TBN://" result in http://<server>:50000/irj/portal/getAccessLink.
<xsl:for-each select="document/elements/element">
<xsl:if test="@type='furtherreading'">
<li>
<a class="wpca">
<xsl:attribute name="href">
<xsl:value-of disable-output-escaping="yes" select="wpc:getAccessLink(string(@rid), string(/document/@locale))"/>
</xsl:attribute>
<xsl:value-of disable-output-escaping="yes" select="@title"/>
</a>
</li>
</xsl:if>
</xsl:for-each>
Has anyone experienced the same behaviour? Does anybody know how to circumvent this issue?
I'm using SAP Netweaver Portal 7.3, SP5
Regards,
Walter
Edit: To circumvent this issue, I created another transformation which bases on the default Teaser-Web-Form. That works perfectly.
But I still wonder whether using getAccessLink() is really not possible...