view _test/Resources/TTView/complex.tt @ 225:a1e868b0fba9

Bindings concept in progress
author sergey
date Fri, 31 Aug 2012 16:41:18 +0400
parents 7a920771fd8e
children b8c724f6de36
line wrap: on
line source

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

    BLOCK CTOR;
        TPanel = require('My/Org/Panel');
        append( TPanel.new('information', data = data ) );
    END;

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