view _test/Resources/TTView/complex.tt @ 259:b92f19630d33

Merge with 91bae9f41a9cf2d52f5cff5a5c3e7c8683c7d47e
author sergey
date Fri, 21 Dec 2012 00:09:11 +0400
parents b8c724f6de36
children 2d253e6e4a88
line wrap: on
line source

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

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

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