svn commit: r430317 - /incubator/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelFormField.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r430317 - /incubator/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/ModelFormField.java

jacopoc
Author: jacopoc
Date: Thu Aug 10 01:49:23 2006
New Revision: 430317

URL: http://svn.apache.org/viewvc?rev=430317&view=rev
Log:
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;
         }