Mercurial > pub > Impl
annotate _test/Resources/TTView/complex.tt @ 304:2ff513227cb4
*TTView: refactoring. Added control registry for the document.
author | cin |
---|---|
date | Mon, 15 Apr 2013 07:44:50 +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 %] |