Mercurial > pub > Impl
annotate _test/Resources/TTView/complex.tt @ 310:0a9d51cf6dfd
*TTView: refactoring, document supports custom classes, layouts are become controls
author | sergey |
---|---|
date | Fri, 19 Apr 2013 16:39:01 +0400 |
parents | aeeb57a12046 |
children |
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 |
287 | 4 TPanel = require('My/Org/Panel'); |
301 | 5 this.childNodes = [ TPanel.new(data = data ) ]; |
191 | 6 |
7 %] | |
8 [% FOREACH node IN this.childNodes() %] | |
194 | 9 <div>[% node.Render() %]</div> |
195
7a920771fd8e
IMPL::Web::View changed document layout handling, docs, examples
cin
parents:
194
diff
changeset
|
10 [% END %] |