Author: mrisaliti
Date: Fri Mar 4 22:39:02 2011
New Revision: 1078188
URL:
http://svn.apache.org/viewvc?rev=1078188&view=revLog:
Remove a warning in MacroFormRenderer (OFBIZ-4102)
Modified:
ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/MacroFormRenderer.java
Modified: ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/MacroFormRenderer.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/MacroFormRenderer.java?rev=1078188&r1=1078187&r2=1078188&view=diff==============================================================================
--- ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/MacroFormRenderer.java (original)
+++ ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/MacroFormRenderer.java Fri Mar 4 22:39:02 2011
@@ -2832,7 +2832,8 @@ public class MacroFormRenderer implement
} else {
ajaxUrl += ",";
}
- Map<String, String> parameters = updateArea.getParameterMap((Map<String, Object>) context);
+ Map<String, Object> ctx = UtilGenerics.checkMap(context);
+ Map<String, String> parameters = updateArea.getParameterMap(ctx);
String targetUrl = updateArea.getAreaTarget(context);
String ajaxParams = getAjaxParamsFromTarget(targetUrl);
if (UtilValidate.isNotEmpty(extraParams)) {