view _test/Resources/TTView/complex.tt @ 299:bd79145657e5

sync
author sergey
date Thu, 21 Mar 2013 16:00:09 +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 %]