Menu

#260 DateTime and Date popup dialog error in Chinese Environment

v4.5.1
closed
nobody
None
5
2012-07-30
2012-03-01
Yi Chen
No

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.

Discussion

  • Yi Chen

    Yi Chen - 2012-03-01

    The correction file

     
  • Javier Paniza

    Javier Paniza - 2012-07-30
    • milestone: 2414376 --> v4.5.1
    • status: open --> closed
     
  • Javier Paniza

    Javier Paniza - 2012-07-30

    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

     

Log in to post a comment.