annotate _test/Resources/TTView/complex.tt @ 291:5d14baa35790

*TTView: fixed template selectors mechanism
author cin
date Thu, 21 Feb 2013 03:44:02 +0400
parents 3a9cfea098dd
children aeeb57a12046
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
287
2d253e6e4a88 *TTView refactoring
cin
parents: 238
diff changeset
4 TPanel = require('My/Org/Panel');
2d253e6e4a88 *TTView refactoring
cin
parents: 238
diff changeset
5 this.childNodes = [ TPanel.new('information', data = data ) ];
191
78a18a2b6266 IMPL::Web::View improvements (unstable)
cin
parents: 189
diff changeset
6
78a18a2b6266 IMPL::Web::View improvements (unstable)
cin
parents: 189
diff changeset
7 %]
78a18a2b6266 IMPL::Web::View improvements (unstable)
cin
parents: 189
diff changeset
8 [% FOREACH node IN this.childNodes() %]
194
4d0e1962161c Replaced tabs with spaces
cin
parents: 191
diff changeset
9 <div>[% node.Render() %]</div>
195
7a920771fd8e IMPL::Web::View changed document layout handling, docs, examples
cin
parents: 194
diff changeset
10 [% END %]