DateTime and Date popup dialog error in Chinese Environment
Automatic frontend engine for Java
Brought to you by:
javierpaniza
I wrote the code using Date type.
@Column(name = "complete_date")
@Required
@DefaultValueCalculator(CurrentDateCalculator.class)
private Date completeDate;
When I go to the "detail" mode. I want to choose a date by clicking the date image. But the web broswer show a error in the bottom.
The error details mentioned:
message: lack of ')'
line: 20
char: 6
code: 0
URI: http://localhost:8080/OACT/xava/editors/calendar/lang/calendar-zh.js?ox=4.3.1
message: 'Calendar._TT.DEF_DATE_FORMAT' is null or not a object.
line: 35
char: 2
code: 0
URI: http://localhost:8080/OACT/xava/editors/calendar/calendar.js?ox=4.3.1
I change calendar-zh.js and make it work correctly. I attach the correction file.
The correction file
Hi Yi,
your fix will be inclued in OX4.5.1, thanks.
Moreover, I add your name in OX credits:
http://www.openxava.org/web/guest/credits