diff _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 diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/_test/Resources/TTView/My/Org/Panel.tt	Fri Mar 30 16:40:34 2012 +0400
@@ -0,0 +1,15 @@
+[%
+	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 %]
\ No newline at end of file