Mercurial > pub > Impl
annotate _test/Resources/TTView/complex.tt @ 250:129e48bb5afb
DOM refactoring
ObjectToDOM methods are virtual
QueryToDOM uses inflators
Fixed transform for the complex values in the ObjectToDOM
QueryToDOM doesn't allow to use complex values (HASHes) as values for nodes (overpost problem)
author | sergey |
---|---|
date | Wed, 07 Nov 2012 04:17:53 +0400 |
parents | b8c724f6de36 |
children | 2d253e6e4a88 |
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 |
194 | 4 BLOCK CTOR; |
5 TPanel = require('My/Org/Panel'); | |
238 | 6 this.childNodes = [ TPanel.new('information', data = data ) ]; |
194 | 7 END; |
191 | 8 |
9 %] | |
10 [% FOREACH node IN this.childNodes() %] | |
194 | 11 <div>[% node.Render() %]</div> |
195
7a920771fd8e
IMPL::Web::View changed document layout handling, docs, examples
cin
parents:
194
diff
changeset
|
12 [% END %] |