annotate _test/Resources/TTView/complex.tt @ 240:abc7c26bf615

+Added ObjectFactory for templates with static members support *fixed web-resource model errors
author sergey
date Wed, 17 Oct 2012 17:41:29 +0400
parents b8c724f6de36
children 2d253e6e4a88
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
189
08015e2803f1 IMPL::Vew::Web - fixed memory leaks, more tests
cin
parents:
diff changeset
1 [%
195
7a920771fd8e IMPL::Web::View changed document layout handling, docs, examples
cin
parents: 194
diff changeset
2 META version = 1, title = "my document 2", layout="default";
189
08015e2803f1 IMPL::Vew::Web - fixed memory leaks, more tests
cin
parents:
diff changeset
3
194
4d0e1962161c Replaced tabs with spaces
cin
parents: 191
diff changeset
4 BLOCK CTOR;
4d0e1962161c Replaced tabs with spaces
cin
parents: 191
diff changeset
5 TPanel = require('My/Org/Panel');
238
b8c724f6de36 DOM model refactoring
sergey
parents: 195
diff changeset
6 this.childNodes = [ TPanel.new('information', data = data ) ];
194
4d0e1962161c Replaced tabs with spaces
cin
parents: 191
diff changeset
7 END;
191
78a18a2b6266 IMPL::Web::View improvements (unstable)
cin
parents: 189
diff changeset
8
78a18a2b6266 IMPL::Web::View improvements (unstable)
cin
parents: 189
diff changeset
9 %]
78a18a2b6266 IMPL::Web::View improvements (unstable)
cin
parents: 189
diff changeset
10 [% FOREACH node IN this.childNodes() %]
194
4d0e1962161c Replaced tabs with spaces
cin
parents: 191
diff changeset
11 <div>[% node.Render() %]</div>
195
7a920771fd8e IMPL::Web::View changed document layout handling, docs, examples
cin
parents: 194
diff changeset
12 [% END %]