annotate _test/Resources/TTView/My/Org/Panel.tt @ 189:08015e2803f1

IMPL::Vew::Web - fixed memory leaks, more tests
author cin
date Wed, 04 Apr 2012 02:49:45 +0400
parents 029c9610528c
children cd1ff7029a63
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
186
6c0fee769b0c IMPL::Web::View::TTControl tests, fixes
cin
parents:
diff changeset
1 [%
6c0fee769b0c IMPL::Web::View::TTControl tests, fixes
cin
parents:
diff changeset
2 META version = 1;
6c0fee769b0c IMPL::Web::View::TTControl tests, fixes
cin
parents:
diff changeset
3 BLOCK INIT;
6c0fee769b0c IMPL::Web::View::TTControl tests, fixes
cin
parents:
diff changeset
4 dojoDefaultClass = 'dijit.form.Input';
6c0fee769b0c IMPL::Web::View::TTControl tests, fixes
cin
parents:
diff changeset
5 dojo.require.push( dojoDefaultClass );
6c0fee769b0c IMPL::Web::View::TTControl tests, fixes
cin
parents:
diff changeset
6 END;
6c0fee769b0c IMPL::Web::View::TTControl tests, fixes
cin
parents:
diff changeset
7 BLOCK CTOR;
6c0fee769b0c IMPL::Web::View::TTControl tests, fixes
cin
parents:
diff changeset
8 dojoClass = dojoDefaultClass;
6c0fee769b0c IMPL::Web::View::TTControl tests, fixes
cin
parents:
diff changeset
9 visualClass = this.nodeProperty('visualClass') || 'classic';
6c0fee769b0c IMPL::Web::View::TTControl tests, fixes
cin
parents:
diff changeset
10 END;
6c0fee769b0c IMPL::Web::View::TTControl tests, fixes
cin
parents:
diff changeset
11 %]
6c0fee769b0c IMPL::Web::View::TTControl tests, fixes
cin
parents:
diff changeset
12 [% BLOCK RENDER %]
189
08015e2803f1 IMPL::Vew::Web - fixed memory leaks, more tests
cin
parents: 188
diff changeset
13 [%
08015e2803f1 IMPL::Vew::Web - fixed memory leaks, more tests
cin
parents: 188
diff changeset
14 TPreview = document.require('My/Org/TextPreview');
08015e2803f1 IMPL::Vew::Web - fixed memory leaks, more tests
cin
parents: 188
diff changeset
15 FOREACH text IN data;
08015e2803f1 IMPL::Vew::Web - fixed memory leaks, more tests
cin
parents: 188
diff changeset
16 CALL this.appendChild(TPreview.new('preview', nodeValue = text ));
08015e2803f1 IMPL::Vew::Web - fixed memory leaks, more tests
cin
parents: 188
diff changeset
17 END;
08015e2803f1 IMPL::Vew::Web - fixed memory leaks, more tests
cin
parents: 188
diff changeset
18 %]
08015e2803f1 IMPL::Vew::Web - fixed memory leaks, more tests
cin
parents: 188
diff changeset
19 <div class="$visualClass" data-dojo-type="$dojoClass">
08015e2803f1 IMPL::Vew::Web - fixed memory leaks, more tests
cin
parents: 188
diff changeset
20 [% FOREACH node IN this.selectNodes('preview') %]
08015e2803f1 IMPL::Vew::Web - fixed memory leaks, more tests
cin
parents: 188
diff changeset
21 [% node.Render() %]
08015e2803f1 IMPL::Vew::Web - fixed memory leaks, more tests
cin
parents: 188
diff changeset
22 <hr />
08015e2803f1 IMPL::Vew::Web - fixed memory leaks, more tests
cin
parents: 188
diff changeset
23 [% END %]
08015e2803f1 IMPL::Vew::Web - fixed memory leaks, more tests
cin
parents: 188
diff changeset
24 </div>
186
6c0fee769b0c IMPL::Web::View::TTControl tests, fixes
cin
parents:
diff changeset
25 [% END %]