view _test/Resources/TTView/complex.tt @ 297:52aae1b85084

Added transformations support to JSONView
author cin
date Mon, 11 Mar 2013 01:22:24 +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 %]