You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Musachy Barroso (JIRA)" <ji...@apache.org> on 2008/06/21 17:32:05 UTC

[jira] Resolved: (WW-2540) datetimepicker cause a javascript error if entered some non-date chars then lose focus BEFORE choose a date

     [ https://issues.apache.org/struts/browse/WW-2540?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Musachy Barroso resolved WW-2540.
---------------------------------

    Resolution: Fixed

This was fixed a long time ago, but the value of the field will continue to be empty. (no javascript exception though)

> datetimepicker cause a javascript error if entered some non-date chars then lose focus BEFORE choose a date
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: WW-2540
>                 URL: https://issues.apache.org/struts/browse/WW-2540
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Dojo Tags
>    Affects Versions: 2.0.11
>         Environment: XP SP2 ,IE 7.0
>            Reporter: andvar woo
>            Priority: Minor
>             Fix For: 2.1.3
>
>         Attachments: screenshot-1.jpg
>
>
> I use this tag and find a bug for it.
> when you enter some non-date format characters such as 'abvc' BEFORE choose a date,then kill focus for the datatimepicter,you get a javascript error :
> -------------------------------------------------------------------
> Line:4872
> Char:1
> Code:0
> Error:[object Error]
> site:http://localhost/struts2-showcase-2.0.11/tags/ui/datepicker/
> ------------------------------------------------------------------
> you can try the examples offered with the struts-2.0.11-all.zip.
> http://localhost/struts2-showcase-2.0.11/tags/ui/datepicker/
> the value for the "US format" is empty,then enter some non-date format charcters BEFORE choose a date,then kill focus

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