litesoft
Diff Revisions
850
vs
851
for /trunk/Java/GWT/Client/src/org/litesoft/GWT/forms/client/FormBinder.java
|
@@ -234,7 +234,7 @@ |
234 |
234 |
|
positiveOnly( MaxLength.get( zAMD ) ) ) ); |
235 |
235 |
|
} |
236 |
236 |
|
|
237 |
|
- |
private static DateFormatControl sDFC = null; |
|
237 |
+ |
private static DateFormat sDF = null; |
238 |
238 |
|
|
239 |
239 |
|
private Widget addSimpleDate( SimpleVoAttribute pAttribute, boolean pViewOnly, String pLabel ) |
240 |
240 |
|
{ |
|
@@ -245,11 +245,11 @@ |
245 |
245 |
|
{ |
246 |
246 |
|
return add( pAttribute, pViewOnly, new FormTextField( zFieldLabel, null, zTooltip, 12, 12 ) ); |
247 |
247 |
|
} |
248 |
|
- |
if ( sDFC == null ) |
|
248 |
+ |
if ( sDF == null ) |
249 |
249 |
|
{ |
250 |
|
- |
sDFC = new DateFormatControl( DateFormatControl.DEFAULT_DATE_FORMAT ); |
|
250 |
+ |
sDF = DateFormat.DEFAULT_YMD; |
251 |
251 |
|
} |
252 |
|
- |
return add( pAttribute, pViewOnly, new FormDatePicker( zFieldLabel, null, zTooltip, "Cancel", "Today", sDFC ) ); |
|
252 |
+ |
return add( pAttribute, pViewOnly, new FormDatePicker( zFieldLabel, null, zTooltip, "Cancel", "Today", sDF ) ); |
253 |
253 |
|
} |
254 |
254 |
|
|
255 |
255 |
|
private Widget addSimpleMoney( SimpleVoAttribute pAttribute, boolean pViewOnly, Integer pDisplayWidthOveride, String pLabel ) |