Mercurial > pub > Impl
annotate _test/Resources/TTView/complex.tt @ 255:827cf96faa1c
refactoring (incomplete)
author | sergey |
---|---|
date | Fri, 07 Dec 2012 16:58:19 +0400 |
parents | b8c724f6de36 |
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 %] |