Author: adrianc
Date: Mon May 12 12:39:48 2008
New Revision: 655616
URL:
http://svn.apache.org/viewvc?rev=655616&view=revLog:
Small fixup for last commit.
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=655616&r1=655615&r2=655616&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 Mon May 12 12:39:48 2008
@@ -202,6 +202,7 @@
public void initForm(Element formElement) {
+ setDefaultViewSize(UtilProperties.getPropertyValue("widget.properties", "widget.form.defaultViewSize"));
// check if there is a parent form to inherit from
String parentResource = formElement.getAttribute("extends-resource");
String parentForm = formElement.getAttribute("extends");
@@ -427,7 +428,6 @@
if (rowSubmit != null && rowSubmit.equalsIgnoreCase("true"))
useRowSubmit = true;
}
- setDefaultViewSize(UtilProperties.getPropertyValue("widget.properties", "widget.form.defaultViewSize"));
if (formElement.hasAttribute("view-size")) {
setDefaultViewSize(formElement.getAttribute("view-size"));
}