Mercurial > pub > Impl
annotate _test/Resources/TTView/My/Org/Panel.tt @ 187:927653d01f4f
TTControl::AUTOLOAD now accesses nodeProperties
Added TTControl::renderBlock property to access RENDER block of the template
author | sergey |
---|---|
date | Tue, 03 Apr 2012 07:54:25 +0400 |
parents | 6c0fee769b0c |
children | 029c9610528c |
rev | line source |
---|---|
186 | 1 [% |
2 META version = 1; | |
3 BLOCK INIT; | |
4 dojoDefaultClass = 'dijit.form.Input'; | |
5 dojo.require.push( dojoDefaultClass ); | |
6 END; | |
7 BLOCK CTOR; | |
8 controlObject = this; | |
9 dojoClass = dojoDefaultClass; | |
10 visualClass = this.nodeProperty('visualClass') || 'classic'; | |
11 END; | |
12 %] | |
13 [% BLOCK RENDER %] | |
14 <div class="$visualClass" data-dojo-type="$dojoClass">$this.nodeValue</div> | |
15 [% END %] |