comparison _test/Resources/TTView/complex.tt @ 191:78a18a2b6266

IMPL::Web::View improvements (unstable)
author cin
date Thu, 05 Apr 2012 17:51:51 +0400
parents 08015e2803f1
children 4d0e1962161c
comparison
equal deleted inserted replaced
190:cd1ff7029a63 191:78a18a2b6266
1 [% 1 [%
2 META version = 1, title = "my document 2"; 2 META version = 1, title = "my document 2", layout= "Layout/default";
3 3
4 TPanel = document.require('My/Org/Panel'); 4 BLOCK CTOR;
5 5 TPanel = require('My/Org/Panel');
6 this.appendChild(TPanel.new('information')); 6 append( TPanel.new('information', data = this.data ) );
7 7 END;
8 this.selectSingleNode('information').Render(); 8
9 %] 9 %]
10 [% FOREACH node IN this.childNodes() %]
11 <div>[% node.Render() %]</div>
12 [% END %]