From: <die...@us...> - 2010-09-01 14:00:54
|
Revision: 2989 http://openutils.svn.sourceforge.net/openutils/?rev=2989&view=rev Author: diego_schivo Date: 2010-09-01 14:00:48 +0000 (Wed, 01 Sep 2010) Log Message: ----------- CONTROLS-35 fix freemarker error when column type is not found Modified Paths: -------------- trunk/openutils-mgnlcontrols/src/main/resources/dialogs/grid.ftl Modified: trunk/openutils-mgnlcontrols/src/main/resources/dialogs/grid.ftl =================================================================== --- trunk/openutils-mgnlcontrols/src/main/resources/dialogs/grid.ftl 2010-09-01 13:44:13 UTC (rev 2988) +++ trunk/openutils-mgnlcontrols/src/main/resources/dialogs/grid.ftl 2010-09-01 14:00:48 UTC (rev 2989) @@ -175,7 +175,7 @@ var colModel = new Ext.grid.ColumnModel([ [#list configuration.columns?values as colmap] - ${gridColumnTypes[colmap.type!'text'].drawColumnJs(name, colmap_index, colmap, msgs)}[#if colmap_has_next],[/#if] + ${(gridColumnTypes[colmap.type!'text']!gridColumnTypes['text']).drawColumnJs(name, colmap_index, colmap, msgs)}[#if colmap_has_next],[/#if] [/#list] ]); colModel.defaultSortable = true; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |