7 5 Default Weblet for Technology Service

LANSA WAM

7.5 Default Weblet for Technology Service

You can nominate a default weblet for a Technology Service. The default weblet is used when a field has no weblet visualization. If no default weblet is nominated, your WebRoutine XSL stylesheet  should have templates to handle non-weblet fields or list columns.

The nominated weblet must exist in your Technology Service. Add the following instructions to the same level as the <xsl:output> instruction in your WebRoutine XSL stylesheet. This example shows the default weblet for Technology Service JQMOBILE:

<xsl:output method="xml" omit-xml-declaration="no" encoding="UTF-8" indent="yes"/>
<xsl:namespace-alias stylesheet-prefix="xslt" result-prefix="xsl"/>
 
<!-- Default Weblet -->
<tsml:definition>
    <tsml:default-weblet name="std_input.std_input" />
</tsml:definition>