Author: jleroux
Date: Wed Mar 16 12:00:49 2011
New Revision: 1082134
URL:
http://svn.apache.org/viewvc?rev=1082134&view=revLog:
Fixes "Form widget extension of the sort-order block" (
https://issues.apache.org/jira/browse/OFBIZ-3542) - OFBIZ-3542
The sort-order block was not extended when you extend a form. So you had to duplicate it in case it was the same.
Modified:
ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelForm.java
Modified: ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelForm.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelForm.java?rev=1082134&r1=1082133&r2=1082134&view=diff==============================================================================
--- ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelForm.java (original)
+++ ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelForm.java Wed Mar 16 12:00:49 2011
@@ -315,6 +315,10 @@ public class ModelForm extends ModelWidg
this.fieldList.add(childField);
this.fieldMap.put(childField.getName(), childField);
}
+
+ this.fieldGroupMap = parent.fieldGroupMap;
+ this.fieldGroupList = parent.fieldGroupList;
+
}
}