This content has been marked as final.
Show 7 replies
-
1. Re: spinner dutch input
nbelaevski Mar 23, 2009 1:51 PM (in response to jigar_k_parekh)Hello,
This is not possible currently: https://jira.jboss.org/jira/browse/RF-4366 -
2. Re: spinner dutch input
jigar_k_parekh Mar 24, 2009 5:00 AM (in response to jigar_k_parekh)Thanks, is there any workaround, i saw something on jira issue but not quite clear to me
-
3. Re: spinner dutch input
ilya_shaikovsky Mar 24, 2009 6:28 AM (in response to jigar_k_parekh)
So the only workaround at this time is to register my own converter and allow both locales at the same time ("." and ","), because javascript code always generates ".".
Yes, that seems to be the only workaround as the problem of localization of client-side code is not fully solved yet.
become a watcher for the issue to recieve the updates -
4. Re: spinner dutch input
nbelaevski Mar 24, 2009 7:13 AM (in response to jigar_k_parekh)"jigar_k_parekh" wrote:
Workaround is about correctly processing submitted data on the server.
Thanks, is there any workaround, i saw something on jira issue but not quite clear to me -
5. Re: spinner dutch input
jigar_k_parekh Mar 26, 2009 12:14 PM (in response to jigar_k_parekh)can i edit SpinnerScript.js and change three different call of
isNaN(Number(this.edit.value))
to javascript something like below
IsNumeric(this.edit.value)function IsNumeric(sText) { var ValidChars = "0123456789,"; var IsNumber=true; var Char; for (i = 0; i < sText.length && IsNumber == true; i++) { Char = sText.charAt(i); if (ValidChars.indexOf(Char) == -1) { IsNumber = false; } } return IsNumber; }
do u think it will resolve my problem? -
6. Re: spinner dutch input
nbelaevski Mar 27, 2009 7:55 AM (in response to jigar_k_parekh)You can try the code, but this won't make spinner to format value according to dutch locale.
-
7. Re: spinner dutch input
jigar_k_parekh Mar 27, 2009 11:23 AM (in response to jigar_k_parekh)currently javascript is blocking this previous value is replaced when i provide,
as i have string bound with spinner control i don't mind it to convert it on server side.
do u think this will allow me to enter 10,05 in spinner still my increment in step 1 and i am going to use same behaviour through my application