From: <ga...@us...> - 2010-05-26 18:59:47
|
Revision: 4488 http://jaffa.svn.sourceforge.net/jaffa/?rev=4488&view=rev Author: gautamj Date: 2010-05-26 18:59:41 +0000 (Wed, 26 May 2010) Log Message: ----------- The getCriteriaFromPanel() method in CriteriaPanel.js was incorrectly passing the value of a combo as-is, instead of as an Array. For regular queries, DWR would implicitly marshal the value into an Array. However, the jsonToJava converter used by exportToExcel.jsp was unable to do that; resulting in a runtime error. The getCriteriaFromPanel() method in CriteriaPanel.js has now been corrected to generate an Array for a combo field. Modified Paths: -------------- trunk/JaffaRIA/source/html/js/extjs/jaffa/finder/CriteriaPanel.js Modified: trunk/JaffaRIA/source/html/js/extjs/jaffa/finder/CriteriaPanel.js =================================================================== --- trunk/JaffaRIA/source/html/js/extjs/jaffa/finder/CriteriaPanel.js 2010-05-26 18:47:48 UTC (rev 4487) +++ trunk/JaffaRIA/source/html/js/extjs/jaffa/finder/CriteriaPanel.js 2010-05-26 18:59:41 UTC (rev 4488) @@ -406,7 +406,7 @@ addValue=valueField.getValue(); } } - } else if (fld.xtype=='finderComboGrid') { + } else if (fld.xtype=='finderComboGrid' || fld.xtype=='combo') { if (fld.getValue()) { if (fld.isCriteriaField) { var tmp = fld.getValue().split(','); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |