From: Lebbeous Fogle-Weekley Date: Mon, 26 Mar 2012 18:14:53 +0000 (-0400) Subject: on line 27 of flattener_test.tt2 ... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=03bbc1f9885724f165064bf52ba8ccbc0d1bfaec;p=evergreen%2Fequinox.git on line 27 of flattener_test.tt2 ... on line 27 of flattener_test.tt2 is the dojoType attribute on a table If you make the value "dojox.grid.DataGrid", you see a grid and everything works fine. If you make the value "openils.widget.FlattenerGrid", which in this example is like a do-nothing-different subclass, you can tell from the debugging console that the grid dijit is somewhat built, but the grid never displays. wth!?!? Signed-off-by: Lebbeous Fogle-Weekley --- diff --git a/Open-ILS/src/templates/conify/flattener_test.tt2 b/Open-ILS/src/templates/conify/flattener_test.tt2 new file mode 100644 index 0000000000..e2fd762820 --- /dev/null +++ b/Open-ILS/src/templates/conify/flattener_test.tt2 @@ -0,0 +1,41 @@ +[% WRAPPER base.tt2 %] +[% ctx.page_title = 'Flattener Test' %] + + + + + + + + + + + +
Part NumberMinimum TemperatureMaximum TemperatureTypeThickness
+[% END %] diff --git a/Open-ILS/web/js/dojo/openils/widget/FlattenerGrid.js b/Open-ILS/web/js/dojo/openils/widget/FlattenerGrid.js new file mode 100644 index 0000000000..96d296311d --- /dev/null +++ b/Open-ILS/web/js/dojo/openils/widget/FlattenerGrid.js @@ -0,0 +1,11 @@ +if (!dojo._hasResource["openils.widget.FlatGrid"]) { + dojo.provide("openils.widget.FlattenerGrid"); + + dojo.require("dojox.grid.DataGrid"); + + dojo.declare( + "openils.widget.FlattenerGrid", + [dojox.grid.DataGrid], { + } + ); +}