Mercurial > pub > Impl
view _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 |
line wrap: on
line source
[% META version = 1; BLOCK INIT; dojoDefaultClass = 'dijit.form.Input'; dojo.require.push( dojoDefaultClass ); END; BLOCK CTOR; controlObject = this; dojoClass = dojoDefaultClass; visualClass = this.nodeProperty('visualClass') || 'classic'; END; %] [% BLOCK RENDER %] <div class="$visualClass" data-dojo-type="$dojoClass">$this.nodeValue</div> [% END %]