Mercurial > pub > Impl
view _test/Resources/TTView/complex.tt @ 291:5d14baa35790
*TTView: fixed template selectors mechanism
author | cin |
---|---|
date | Thu, 21 Feb 2013 03:44:02 +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 %]