view _test/Resources/TTView/complex.tt @ 298:78f767765706

TT view refactoring
author cin
date Tue, 19 Mar 2013 02:02:37 +0400
parents 3a9cfea098dd
children aeeb57a12046
line wrap: on
line source

[%
    META version = 1, title = "my document 2", layout="default";

    TPanel = require('My/Org/Panel');
    this.childNodes = [ TPanel.new('information', data = data ) ];

%]
[% FOREACH node IN this.childNodes() %]
	<div>[% node.Render() %]</div>
[% END %]