Author: jacopoc
Date: Thu Aug 10 01:49:23 2006
New Revision: 430317
URL:
http://svn.apache.org/viewvc?rev=430317&view=revLog:
Changed blank character code from " " to " " to make it work also with fo templates
Thanks to Christian Geisert for the patch.
Modified:
incubator/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelFormField.java
Modified: incubator/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelFormField.java
URL:
http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelFormField.java?rev=430317&r1=430316&r2=430317&view=diff==============================================================================
--- incubator/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelFormField.java (original)
+++ incubator/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelFormField.java Thu Aug 10 01:49:23 2006
@@ -1712,7 +1712,7 @@
retVal = modelFormField.getEntry(context);
}
if (retVal == null || retVal.length() == 0) {
- retVal = " ";
+ retVal = " ";
} else if ("currency".equals(type)) {
Locale locale = (Locale) context.get("locale");
if (locale == null) locale = Locale.getDefault();
@@ -1826,7 +1826,7 @@
retVal = fieldValue;
}
if (retVal == null || retVal.length() == 0) {
- retVal = " ";
+ retVal = " ";
}
return retVal;
}