Mercurial > pub > Impl
annotate _test/Resources/TTView/complex.tt @ 323:b56b1ec33b59
minor changes to support JSON in transformation from a query to an object
author | sergey |
---|---|
date | Thu, 23 May 2013 18:40:26 +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 %] |