~ubuntu-branches/ubuntu/quantal/openerp6.1/quantal-proposed

« back to all changes in this revision

Viewing changes to openerp/addons/web/static/lib/qweb/qweb-test-call.xml

  • Committer: Package Import Robot
  • Author(s): Yolanda Robla
  • Date: 2012-09-20 15:29:00 UTC
  • Revision ID: package-import@ubuntu.com-20120920152900-woyy3yww8z6acmsk
Tags: upstream-6.1-1+dfsg
ImportĀ upstreamĀ versionĀ 6.1-1+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<templates>
 
2
    <t t-name="basic-callee">ok</t>
 
3
    <t t-name="callee-printsbody"><t t-esc="__content__"/></t>
 
4
    <t t-name="callee-uses-foo"><t t-esc="foo"/></t>
 
5
    <t t-name="callee-sets-foo"><t t-set="foo" t-value="'ok'"/></t>
 
6
 
 
7
    <t t-name="basic-caller">
 
8
        <t t-call="basic-callee"/>
 
9
    </t>
 
10
    <t t-name="with-unused-body">
 
11
        <t t-call="basic-callee">WHEEE</t>
 
12
    </t>
 
13
    <t t-name="with-unused-setbody">
 
14
        <t t-call="basic-callee">
 
15
            <t t-set="qux" t-value="3"/>
 
16
        </t>
 
17
    </t>
 
18
    <t t-name="with-used-body">
 
19
        <t t-call="callee-printsbody">ok</t>
 
20
    </t>
 
21
    <t t-name="with-used-setbody">
 
22
        <t t-call="callee-uses-foo">
 
23
            <t t-set="foo" t-value="'ok'"/>
 
24
        </t>
 
25
    </t>
 
26
    <t t-name="in-context-import">
 
27
        <t t-call="callee-sets-foo" t-import='*'/>
 
28
        <t t-esc="foo"/>
 
29
    </t>
 
30
</templates>