view _test/Resources/TTView/complex.tt @ 192:a9faf883cdce

IMPL::Web::View refactoring
author cin
date Fri, 06 Apr 2012 16:22:38 +0400
parents 78a18a2b6266
children 4d0e1962161c
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 = this.data ) );
	END;

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