view _test/Resources/TTView/My/Org/Panel.tt @ 186:6c0fee769b0c

IMPL::Web::View::TTControl tests, fixes
author cin
date Fri, 30 Mar 2012 16:40:34 +0400
parents
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 %]