Mercurial > pub > Impl
view _test/Resources/TTView/complex.tt @ 304:2ff513227cb4
*TTView: refactoring. Added control registry for the document.
author | cin |
---|---|
date | Mon, 15 Apr 2013 07:44:50 +0400 |
parents | aeeb57a12046 |
children |
line wrap: on
line source
[% META version = 1, title = "my document 2", layout="default"; TPanel = require('My/Org/Panel'); this.childNodes = [ TPanel.new(data = data ) ]; %] [% FOREACH node IN this.childNodes() %] <div>[% node.Render() %]</div> [% END %]