struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajeev kumar (JIRA)" <j...@apache.org>
Subject [jira] Commented: (WW-1997) DateTimePicker won't work if Year is 0000
Date Mon, 04 Aug 2008 12:23:25 GMT

    [ https://issues.apache.org/struts/browse/WW-1997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44522#action_44522
] 

Rajeev kumar commented on WW-1997:
----------------------------------

If we will not uses 'displayFormat="dd/MM/yyyy" ', then 0000 issue is resolved. But selecting
multiple dates issue with "NaN/NaN/NaN" have still problem.
I am using struts 2.0.11.1 version. 
Could you also provide any patch for struts 2.0.11.1 version for above mentioned issue.


> DateTimePicker won't work if Year is 0000
> -----------------------------------------
>
>                 Key: WW-1997
>                 URL: https://issues.apache.org/struts/browse/WW-1997
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Dojo Tags
>    Affects Versions: 2.0.9
>         Environment: Windows XP, Tomcat 5.5, JDK 6 compiling at 5.0
> Browser is Firefox 2.0.0.4.
>            Reporter: Victor Neo
>             Fix For: Future
>
>
> DateTimePicker will not work if the user manually specifies the Year as 0000.
> Below is my <s:form> containing the DateTimePicker tag:
> <s:form method="post">
> <s:datetimepicker name="date" label="Delivery Date" displayFormat="dd/MM/yyyy" />
> <s:submit/>
> </s:form>
> Reproducing the bug:
> 1. Select any date from the DateTimePicker calendar.
> 2. Manually change the YYYY Year portion to 0000 (4 Zeroes) in the textfield.
> 3. Press submit.
> 4. An error would be caught, will display the same page again.
> 5. If I select any date in the DateTimePicker, it will not display in the textfield.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message