Mercurial > pub > Impl
annotate _test/Resources/TTView/complex.tt @ 291:5d14baa35790
*TTView: fixed template selectors mechanism
author | cin |
---|---|
date | Thu, 21 Feb 2013 03:44:02 +0400 |
parents | 3a9cfea098dd |
children | aeeb57a12046 |
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'); |
5 this.childNodes = [ TPanel.new('information', 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 %] |