フィールドのTSML ノード
次は、ウェブレット std_dropdown でビジュアライズされたピックリストが付いたフィールドの TSML ノードです。
<?xml version="1.0" encoding="UTF-8"?>
<tsml:data full-document="false" inline="none"
xmlns:tsml="http://www.lansa.com/2002/XML/Generation-Metadata">
<tsml:weblets>
<tsml:weblet name="std_dropdown.std_dropdown">
<tsml:technology-services>
<tsml:technology-service name="LANSA:XHTML"
mod-id="20121221132340000">
<tsml:template-params>
<tsml:template-param>
<tsml:param-name>display_mode</tsml:param-name>
<tsml:param-role>std:display_mode</tsml:param-role>
<tsml:param-select>'input'</tsml:param-select>
</tsml:template-param>
<tsml:template-param>
<tsml:param-name>items</tsml:param-name>
<tsml:param-role>std:picklist</tsml:param-role>
<tsml:param-select>document('')/*/lxml:data/lxml:dropdown</tsml:param-select>
</tsml:template-param>
<tsml:template-param>
<tsml:param-name>name</tsml:param-name>
</tsml:template-param>
<tsml:template-param>
<tsml:param-name>pos_absolute</tsml:param-name>
<tsml:param-role>std:pos_absolute_design</tsml:param-role>
</tsml:template-param>
<tsml:template-param>
<tsml:param-name>width_design</tsml:param-name>
<tsml:param-role>std:width_design</tsml:param-role>
</tsml:template-param>
</tsml:template-params>
</tsml:technology-service>
</tsml:technology-services>
</tsml:weblet>
</tsml:weblets>
<tsml:lxml-data xmlns:lxml="http://www.lansa.com/2002/XML/Runtime-Data">
<lxml:picklist id="380F247733D94ECDA37898AA9AEFCCD5"
field-ref="DAYOFWEEK">
<lxml:item default="true">
<lxml:caption>
<lxml:variable name="MTXTDEMCALEN05801" /></lxml:caption>
<lxml:value>MON</lxml:value>
</lxml:item>
<lxml:item>
<lxml:caption>
<lxml:variable name="MTXTDEMCALEN06001" /></lxml:caption>
<lxml:value>TUE</lxml:value>
</lxml:item>
<lxml:item>
<lxml:caption>
<lxml:variable name="MTXTDEMCALEN06201" /></lxml:caption>
<lxml:value>WED</lxml:value>
</lxml:item>
<lxml:item>
<lxml:caption>
<lxml:variable name="MTXTDEMCALEN06401" /></lxml:caption>
<lxml:value>THU</lxml:value>
</lxml:item>
<lxml:item>
<lxml:caption>
<lxml:variable name="MTXTDEMCALEN06601" /></lxml:caption>
<lxml:value>FRI</lxml:value>
</lxml:item>
<lxml:item>
<lxml:caption>
<lxml:variable name="MTXTDEMCALEN06801" /></lxml:caption>
<lxml:value>SAT</lxml:value>
</lxml:item>
<lxml:item>
<lxml:caption>
<lxml:variable name="MTXTDEMCALEN07001" /></lxml:caption>
<lxml:value>SUN</lxml:value>
</lxml:item>
</lxml:picklist>
</tsml:lxml-data>
<tsml:fields>
<tsml:field name="DAYOFWEEK">
<tsml:mode>input</tsml:mode>
<tsml:sample-value>MON</tsml:sample-value>
<tsml:format>
<tsml:type>alpha</tsml:type>
<tsml:display-max-length>3</tsml:display-max-length>
<tsml:max-length>3</tsml:max-length>
<tsml:input-case>uppercase</tsml:input-case>
<tsml:keyboardshift />
</tsml:format>
<tsml:caption ref="description">
<tsml:label>Day of the week</tsml:label>
<tsml:description>Day of the week</tsml:description>
<tsml:heading-1>Day</tsml:heading-1>
<tsml:heading-2>of</tsml:heading-2>
<tsml:heading-3>the</tsml:heading-3>
</tsml:caption>
<tsml:use-weblets>
<tsml:use-weblet name="std_dropdown.std_dropdown"
technology-service="LANSA:JQMOBILE" />
<tsml:use-weblet name="std_dropdown.std_dropdown"
technology-service="LANSA:PPC_XHTML" />
<tsml:use-weblet name="std_dropdown.std_dropdown"
technology-service="LANSA:XHTML" />
</tsml:use-weblets>
</tsml:field>
</tsml:fields>
</tsml:data>