annotate _test/Resources/TTView/complex.tt @ 194:4d0e1962161c

Replaced tabs with spaces IMPL::Web::View - fixed document model, new features (control classes, document constructor parameters)
author cin
date Tue, 10 Apr 2012 20:08:29 +0400
parents 78a18a2b6266
children 7a920771fd8e
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 [%
194
4d0e1962161c Replaced tabs with spaces
cin
parents: 191
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
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');
4d0e1962161c Replaced tabs with spaces
cin
parents: 191
diff changeset
6 append( TPanel.new('information', data = data ) );
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>
191
78a18a2b6266 IMPL::Web::View improvements (unstable)
cin
parents: 189
diff changeset
12 [% END %]