2011-03-10 09:53:34 +00:00
|
|
|
<templates>
|
|
|
|
<t t-name="set-from-attribute-literal">
|
2014-09-09 07:17:32 +00:00
|
|
|
<t t-set="value" t-value="'ok'"/>
|
|
|
|
<t t-esc="value"/>
|
2011-03-10 09:53:34 +00:00
|
|
|
</t>
|
2014-09-09 07:17:32 +00:00
|
|
|
<result id="set-from-attribute-literal">
|
|
|
|
ok
|
|
|
|
</result>
|
|
|
|
|
2011-03-10 09:53:34 +00:00
|
|
|
<t t-name="set-from-body-literal">
|
2014-09-09 07:17:32 +00:00
|
|
|
<t t-set="value">ok</t>
|
|
|
|
<t t-esc="value"/>
|
2011-03-10 09:53:34 +00:00
|
|
|
</t>
|
2014-09-09 07:17:32 +00:00
|
|
|
<result id="set-from-body-literal">
|
|
|
|
ok
|
|
|
|
</result>
|
2011-03-10 09:53:34 +00:00
|
|
|
|
|
|
|
<t t-name="set-from-attribute-lookup">
|
2014-09-09 07:17:32 +00:00
|
|
|
<t t-set="stuff" t-value="value"/>
|
|
|
|
<t t-esc="stuff"/>
|
2011-03-10 09:53:34 +00:00
|
|
|
</t>
|
2014-09-09 07:17:32 +00:00
|
|
|
<params id="set-from-attribute-lookup">
|
|
|
|
{"value": "ok"}
|
|
|
|
</params>
|
|
|
|
<result id="set-from-attribute-lookup">
|
|
|
|
ok
|
|
|
|
</result>
|
|
|
|
|
2011-03-10 09:53:34 +00:00
|
|
|
<t t-name="set-from-body-lookup">
|
2014-09-09 07:17:32 +00:00
|
|
|
<t t-set="stuff">
|
|
|
|
<t t-esc="value"/>
|
|
|
|
</t>
|
|
|
|
<t t-esc="stuff"/>
|
|
|
|
</t>
|
|
|
|
<params id="set-from-body-lookup">
|
|
|
|
{"value": "ok"}
|
|
|
|
</params>
|
|
|
|
<result id="set-from-body-lookup">
|
|
|
|
ok
|
|
|
|
</result>
|
|
|
|
|
|
|
|
<t t-name="set-empty-body">
|
|
|
|
<t t-set="stuff"/>
|
|
|
|
<t t-esc="stuff"/>
|
|
|
|
</t>
|
|
|
|
<result id="set-empty-body"/>
|
|
|
|
|
|
|
|
<t t-name="t-value-priority">
|
|
|
|
<t t-set="value" t-value="1">2</t>
|
|
|
|
<t t-esc="value"/>
|
2011-03-10 09:53:34 +00:00
|
|
|
</t>
|
2014-09-09 07:17:32 +00:00
|
|
|
<result id="t-value-priority">1</result>
|
2011-03-10 09:53:34 +00:00
|
|
|
</templates>
|