gigaZhang / struts2-jquery

Automatically exported from code.google.com/p/struts2-jquery
0 stars 0 forks source link

Datepicker submit with timepicker on a Calendar attribute #1072

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Declare a Calendar attribute and use it for datepicker
2. Create a form with datepicker and submit button
3. Set date with time and submit the form

What is the expected output? What do you see instead?

The expected output is not parsed to Calendar.
If I set 13/01/2014 12:40 and submit, the value is 13/01/2014 00:00 in my 
action class.

If I use a String attribute, everything is ok.

Which struts2 version?
2.3.15.3

Which struts2-jquery plugin version?
3.6.1

Original issue reported on code.google.com by michele....@gmail.com on 13 Jan 2014 at 11:44

GoogleCodeExporter commented 9 years ago

Original comment by johgep on 10 Apr 2014 at 7:56