annotate _test/Resources/TTView/complex.tt @ 192:a9faf883cdce
IMPL::Web::View refactoring
author |
cin |
date |
Fri, 06 Apr 2012 16:22:38 +0400 |
parents |
78a18a2b6266 |
children |
4d0e1962161c |
rev |
line source |
189
|
1 [%
|
191
|
2 META version = 1, title = "my document 2", layout= "Layout/default";
|
189
|
3
|
191
|
4 BLOCK CTOR;
|
|
5 TPanel = require('My/Org/Panel');
|
|
6 append( TPanel.new('information', data = this.data ) );
|
|
7 END;
|
|
8
|
|
9 %]
|
|
10 [% FOREACH node IN this.childNodes() %]
|
|
11 <div>[% node.Render() %]</div>
|
|
12 [% END %] |