Author: jleroux
Date: Sat Sep 19 16:56:41 2009
New Revision: 816943
URL:
http://svn.apache.org/viewvc?rev=816943&view=revLog:
A patch from Erwan de FERRIERES "2nd amelioration on time-dropdowns" (
https://issues.apache.org/jira/browse/OFBIZ-2955) - OFBIZ-2955
When using drop-downs, the timestamp is fully displayed (date + time), this patch will show only the date in the date textbox, and the time (hours + minutes) are using the drop-downs
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=816943&r1=816942&r2=816943&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 Sat Sep 19 16:56:41 2009
@@ -498,7 +498,7 @@
int maxlength = 30;
if (shortDateInput) {
- //size = maxlength = 15;
+ size = maxlength = 10;
if (uiLabelMap != null) {
localizedInputTitle = uiLabelMap.get("CommonFormatDate");
}