comparison _test/Resources/TTView/complex.tt @ 288:3a9cfea098dd

*TTView refactoring: removed RequireControl method, etc.
author sergey
date Tue, 19 Feb 2013 19:58:27 +0400
parents 2d253e6e4a88
children aeeb57a12046
comparison
equal deleted inserted replaced
287:2d253e6e4a88 288:3a9cfea098dd
3 3
4 TPanel = require('My/Org/Panel'); 4 TPanel = require('My/Org/Panel');
5 this.childNodes = [ TPanel.new('information', data = data ) ]; 5 this.childNodes = [ TPanel.new('information', data = data ) ];
6 6
7 %] 7 %]
8
9 [% FOREACH node IN this.childNodes() %] 8 [% FOREACH node IN this.childNodes() %]
10 <div>[% node.Render() %]</div> 9 <div>[% node.Render() %]</div>
11 [% END %] 10 [% END %]