annotate _test/Resources/TTView/complex.tt @ 192:a9faf883cdce

IMPL::Web::View refactoring
author cin
date Fri, 06 Apr 2012 16:22:38 +0400
parents 78a18a2b6266
children 4d0e1962161c
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 [%
191
78a18a2b6266 IMPL::Web::View improvements (unstable)
cin
parents: 189
diff changeset
2 META version = 1, title = "my document 2", layout= "Layout/default";
189
08015e2803f1 IMPL::Vew::Web - fixed memory leaks, more tests
cin
parents:
diff changeset
3
191
78a18a2b6266 IMPL::Web::View improvements (unstable)
cin
parents: 189
diff changeset
4 BLOCK CTOR;
78a18a2b6266 IMPL::Web::View improvements (unstable)
cin
parents: 189
diff changeset
5 TPanel = require('My/Org/Panel');
78a18a2b6266 IMPL::Web::View improvements (unstable)
cin
parents: 189
diff changeset
6 append( TPanel.new('information', data = this.data ) );
78a18a2b6266 IMPL::Web::View improvements (unstable)
cin
parents: 189
diff changeset
7 END;
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() %]
78a18a2b6266 IMPL::Web::View improvements (unstable)
cin
parents: 189
diff changeset
11 <div>[% node.Render() %]</div>
78a18a2b6266 IMPL::Web::View improvements (unstable)
cin
parents: 189
diff changeset
12 [% END %]