Mercurial > pub > Impl
annotate _test/Resources/TTView/complex.tt @ 342:1090c1dd7429
TTControl: added a helper method 'CreateControlFromTemlpate'
author | cin |
---|---|
date | Wed, 03 Jul 2013 03:53:12 +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 %] |