view _test/Resources/TTView/complex.tt @ 194:4d0e1962161c

Replaced tabs with spaces IMPL::Web::View - fixed document model, new features (control classes, document constructor parameters)
author cin
date Tue, 10 Apr 2012 20:08:29 +0400
parents 78a18a2b6266
children 7a920771fd8e
line wrap: on
line source

[%
    META version = 1, title = "my document 2", layout= "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 %]