Author: mrisaliti
Date: Fri Mar 4 22:32:36 2011
New Revision: 1078183
URL:
http://svn.apache.org/viewvc?rev=1078183&view=revLog:
Remove some 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=1078183&r1=1078182&r2=1078183&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:32:36 2011
@@ -922,7 +922,7 @@ public class MacroFormRenderer implement
public void renderCheckField(Appendable writer, Map<String, Object> context, CheckField checkField) throws IOException {
ModelFormField modelFormField = checkField.getModelFormField();
- ModelForm modelForm = modelFormField.getModelForm();
+ modelFormField.getModelForm();
String currentValue = modelFormField.getEntry(context);
Boolean allChecked = checkField.isAllChecked(context);
String id = modelFormField.getCurrentContainerId(context);
@@ -984,7 +984,7 @@ public class MacroFormRenderer implement
public void renderRadioField(Appendable writer, Map<String, Object> context, RadioField radioField) throws IOException {
ModelFormField modelFormField = radioField.getModelFormField();
- ModelForm modelForm = modelFormField.getModelForm();
+ modelFormField.getModelForm();
List<ModelFormField.OptionValue> allOptionValues = radioField.getAllOptionValues(context, WidgetWorker.getDelegator(context));
String currentValue = modelFormField.getEntry(context);
String className = "";