You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Funk (JIRA)" <ji...@apache.org> on 2007/04/18 18:55:15 UTC

[jira] Created: (WICKET-483) DatePicker comes up with NaN

DatePicker comes up with NaN
----------------------------

                 Key: WICKET-483
                 URL: https://issues.apache.org/jira/browse/WICKET-483
             Project: Wicket
          Issue Type: Bug
          Components: wicket-datetime
    Affects Versions: 1.3
         Environment: Linux Firefox 2.0.0.3
wicket svn Revision: 529942
            Reporter: Martin Funk


DatePicker comes up with NaN
Can be verified at http://www.wicketstuff.org/wicket13/forminput/
Hope that's the correct current Example Site.
Running the examples local has the sam efect.
The page is loaded just fine and the DateTimeField shows the current Date and Time. Right after the DatePicker ist clicked on, the place filles with NaN's.
I didn't see any http request while clicking the DatePicker, so I guess it's somewhere in the JavaScript. 

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


[jira] Commented: (WICKET-483) DatePicker comes up with NaN

Posted by "Eelco Hillenius (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12490688 ] 

Eelco Hillenius commented on WICKET-483:
----------------------------------------

It turns out the license is not compatible, which is an issue for both Wicket and Cocoon (as they use it as well).

We have to either get explicit permission, or rewrite the function ourselves (and share it with Cocoon if that helps).

> DatePicker comes up with NaN
> ----------------------------
>
>                 Key: WICKET-483
>                 URL: https://issues.apache.org/jira/browse/WICKET-483
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-datetime
>    Affects Versions: 1.3
>         Environment: Linux Firefox 2.0.0.3
> wicket svn Revision: 529942
>            Reporter: Martin Funk
>         Assigned To: Eelco Hillenius
>            Priority: Critical
>
> DatePicker comes up with NaN
> Can be verified at http://www.wicketstuff.org/wicket13/forminput/
> Hope that's the correct current Example Site.
> Running the examples local has the sam efect.
> The page is loaded just fine and the DateTimeField shows the current Date and Time. Right after the DatePicker ist clicked on, the place filles with NaN's.
> I didn't see any http request while clicking the DatePicker, so I guess it's somewhere in the JavaScript. 

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


[jira] Commented: (WICKET-483) DatePicker comes up with NaN

Posted by "Eelco Hillenius (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489881 ] 

Eelco Hillenius commented on WICKET-483:
----------------------------------------

I see. I'll try to look at it asap.

> DatePicker comes up with NaN
> ----------------------------
>
>                 Key: WICKET-483
>                 URL: https://issues.apache.org/jira/browse/WICKET-483
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-datetime
>    Affects Versions: 1.3
>         Environment: Linux Firefox 2.0.0.3
> wicket svn Revision: 529942
>            Reporter: Martin Funk
>         Assigned To: Eelco Hillenius
>
> DatePicker comes up with NaN
> Can be verified at http://www.wicketstuff.org/wicket13/forminput/
> Hope that's the correct current Example Site.
> Running the examples local has the sam efect.
> The page is loaded just fine and the DateTimeField shows the current Date and Time. Right after the DatePicker ist clicked on, the place filles with NaN's.
> I didn't see any http request while clicking the DatePicker, so I guess it's somewhere in the JavaScript. 

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


[jira] Commented: (WICKET-483) DatePicker comes up with NaN

Posted by "Eelco Hillenius (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12490513 ] 

Eelco Hillenius commented on WICKET-483:
----------------------------------------

I committed a good fix that works with all locales I tested. It uses a little JavaScript library, located at http://www.mattkruse.com/javascript/date/, written by Matt Kruse. The license is compatible with Apache 2. Nevertheless, I'm sending a note to him to ask him whether he has objections to us using it.

> DatePicker comes up with NaN
> ----------------------------
>
>                 Key: WICKET-483
>                 URL: https://issues.apache.org/jira/browse/WICKET-483
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-datetime
>    Affects Versions: 1.3
>         Environment: Linux Firefox 2.0.0.3
> wicket svn Revision: 529942
>            Reporter: Martin Funk
>         Assigned To: Eelco Hillenius
>            Priority: Critical
>
> DatePicker comes up with NaN
> Can be verified at http://www.wicketstuff.org/wicket13/forminput/
> Hope that's the correct current Example Site.
> Running the examples local has the sam efect.
> The page is loaded just fine and the DateTimeField shows the current Date and Time. Right after the DatePicker ist clicked on, the place filles with NaN's.
> I didn't see any http request while clicking the DatePicker, so I guess it's somewhere in the JavaScript. 

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


[jira] Resolved: (WICKET-483) DatePicker comes up with NaN

Posted by "Eelco Hillenius (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eelco Hillenius resolved WICKET-483.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3

> DatePicker comes up with NaN
> ----------------------------
>
>                 Key: WICKET-483
>                 URL: https://issues.apache.org/jira/browse/WICKET-483
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-datetime
>    Affects Versions: 1.3
>         Environment: Linux Firefox 2.0.0.3
> wicket svn Revision: 529942
>            Reporter: Martin Funk
>         Assigned To: Eelco Hillenius
>            Priority: Critical
>             Fix For: 1.3
>
>
> DatePicker comes up with NaN
> Can be verified at http://www.wicketstuff.org/wicket13/forminput/
> Hope that's the correct current Example Site.
> Running the examples local has the sam efect.
> The page is loaded just fine and the DateTimeField shows the current Date and Time. Right after the DatePicker ist clicked on, the place filles with NaN's.
> I didn't see any http request while clicking the DatePicker, so I guess it's somewhere in the JavaScript. 

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


[jira] Updated: (WICKET-483) DatePicker comes up with NaN

Posted by "Eelco Hillenius (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eelco Hillenius updated WICKET-483:
-----------------------------------

    Priority: Critical  (was: Major)

> DatePicker comes up with NaN
> ----------------------------
>
>                 Key: WICKET-483
>                 URL: https://issues.apache.org/jira/browse/WICKET-483
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-datetime
>    Affects Versions: 1.3
>         Environment: Linux Firefox 2.0.0.3
> wicket svn Revision: 529942
>            Reporter: Martin Funk
>         Assigned To: Eelco Hillenius
>            Priority: Critical
>
> DatePicker comes up with NaN
> Can be verified at http://www.wicketstuff.org/wicket13/forminput/
> Hope that's the correct current Example Site.
> Running the examples local has the sam efect.
> The page is loaded just fine and the DateTimeField shows the current Date and Time. Right after the DatePicker ist clicked on, the place filles with NaN's.
> I didn't see any http request while clicking the DatePicker, so I guess it's somewhere in the JavaScript. 

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


[jira] Commented: (WICKET-483) DatePicker comes up with NaN

Posted by "Martin Funk (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489879 ] 

Martin Funk commented on WICKET-483:
------------------------------------

I think its because the DatePicker is not localized.
My locale is German, and the Date is formated like 18.04.07 for April the 18th 2007.
This doesn't go along with
DatePicker Line 196
		buffer.append("  var dateArray = dateValue.split('/');\n");

And no, I'm not cabable to fix this.

> DatePicker comes up with NaN
> ----------------------------
>
>                 Key: WICKET-483
>                 URL: https://issues.apache.org/jira/browse/WICKET-483
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-datetime
>    Affects Versions: 1.3
>         Environment: Linux Firefox 2.0.0.3
> wicket svn Revision: 529942
>            Reporter: Martin Funk
>
> DatePicker comes up with NaN
> Can be verified at http://www.wicketstuff.org/wicket13/forminput/
> Hope that's the correct current Example Site.
> Running the examples local has the sam efect.
> The page is loaded just fine and the DateTimeField shows the current Date and Time. Right after the DatePicker ist clicked on, the place filles with NaN's.
> I didn't see any http request while clicking the DatePicker, so I guess it's somewhere in the JavaScript. 

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


[jira] Assigned: (WICKET-483) DatePicker comes up with NaN

Posted by "Eelco Hillenius (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eelco Hillenius reassigned WICKET-483:
--------------------------------------

    Assignee: Eelco Hillenius

> DatePicker comes up with NaN
> ----------------------------
>
>                 Key: WICKET-483
>                 URL: https://issues.apache.org/jira/browse/WICKET-483
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-datetime
>    Affects Versions: 1.3
>         Environment: Linux Firefox 2.0.0.3
> wicket svn Revision: 529942
>            Reporter: Martin Funk
>         Assigned To: Eelco Hillenius
>
> DatePicker comes up with NaN
> Can be verified at http://www.wicketstuff.org/wicket13/forminput/
> Hope that's the correct current Example Site.
> Running the examples local has the sam efect.
> The page is loaded just fine and the DateTimeField shows the current Date and Time. Right after the DatePicker ist clicked on, the place filles with NaN's.
> I didn't see any http request while clicking the DatePicker, so I guess it's somewhere in the JavaScript. 

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


[jira] Commented: (WICKET-483) DatePicker comes up with NaN

Posted by "Eelco Hillenius (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12490769 ] 

Eelco Hillenius commented on WICKET-483:
----------------------------------------

I wasn't actually crazy about how it worked. I rewrote it so that it fits our purposes better, and so that we don't have to deal with licencing issues.

> DatePicker comes up with NaN
> ----------------------------
>
>                 Key: WICKET-483
>                 URL: https://issues.apache.org/jira/browse/WICKET-483
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-datetime
>    Affects Versions: 1.3
>         Environment: Linux Firefox 2.0.0.3
> wicket svn Revision: 529942
>            Reporter: Martin Funk
>         Assigned To: Eelco Hillenius
>            Priority: Critical
>             Fix For: 1.3
>
>
> DatePicker comes up with NaN
> Can be verified at http://www.wicketstuff.org/wicket13/forminput/
> Hope that's the correct current Example Site.
> Running the examples local has the sam efect.
> The page is loaded just fine and the DateTimeField shows the current Date and Time. Right after the DatePicker ist clicked on, the place filles with NaN's.
> I didn't see any http request while clicking the DatePicker, so I guess it's somewhere in the JavaScript. 

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