Mercurial > pub > Impl
view _test/Resources/TTView/complex.tt @ 342:1090c1dd7429
TTControl: added a helper method 'CreateControlFromTemlpate'
author | cin |
---|---|
date | Wed, 03 Jul 2013 03:53:12 +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 %]