Doublespinner problem with firefox

asked 2015-05-09 16:55:39 +0800

afxgroup gravatar image afxgroup
126 2

Hello, i'm using 7.0.2 since this is the latest version that works with maven and zk bootstrap and i have a problem with firefox and doublespinner. Basically even if i use the down button it always increase the value. Is this problem fixed with latest zk version?

Not only, the demo http://www.zkoss.org/zkdemo/input/doublespinner cause a "For input string" problem with italian language

delete flag offensive retag edit

2 Answers

Sort by ยป oldest newest most voted

answered 2015-05-11 09:32:16 +0800

hawk gravatar image hawk
3205 1 5
http://hawkphoenix.blogsp... ZK Team

Regarding the "for input string" exception, it's caused by the demo sample written for the double spinner case. It's not a bug of the double spinner component. The exception is thrown for the line below:

Double newPrice = Double.parseDouble(ie.getValue());

Because Italian's number format uses the comma as decimal point, the number string causes the problem when parsing.

There is no problem using double spinner component with Italian locale.

link publish delete flag offensive edit

answered 2015-05-10 10:55:18 +0800

Darksu gravatar image Darksu
1991 1 4

Hello afxgroup,

I just tested the issue with the down button, and it works as expected. But i also have the "For input string" problem.

I will check it out, and let you know.

Best Regards,


link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

1 follower



Asked: 2015-05-09 16:55:39 +0800

Seen: 15 times

Last updated: May 11 '15

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More