Mercurial > pub > Impl
annotate _test/Resources/TTView/complex.tt @ 238:b8c724f6de36
DOM model refactoring
TT view refactoring, controls are no longer derived from DOM nodes
bugfixes
author | sergey |
---|---|
date | Tue, 16 Oct 2012 01:33:06 +0400 |
parents | 7a920771fd8e |
children | 2d253e6e4a88 |
rev | line source |
---|---|
189 | 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 | 3 |
194 | 4 BLOCK CTOR; |
5 TPanel = require('My/Org/Panel'); | |
238 | 6 this.childNodes = [ TPanel.new('information', data = data ) ]; |
194 | 7 END; |
191 | 8 |
9 %] | |
10 [% FOREACH node IN this.childNodes() %] | |
194 | 11 <div>[% node.Render() %]</div> |
195
7a920771fd8e
IMPL::Web::View changed document layout handling, docs, examples
cin
parents:
194
diff
changeset
|
12 [% END %] |