view _test/Resources/TTView/complex.tt @ 215:77a9934a44af

sync, migrating to XML::Compile
author cin
date Sun, 19 Aug 2012 22:27:43 +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 %]