myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mario Ivankovits <ma...@ops.co.at>
Subject Client Side Validation i18n aware?
Date Sun, 11 Mar 2007 12:49:39 GMT
Hi Cagatay!
> +				var doubleRegExp = /^(\+|-)?\d*\.?\d*([eE]\d+)?[dD]?$/;
>   
I haven't had a look at all your validation code, though, do it deal
with i18n?
Means, the regexp above allows to have a "." - I guess as fraction
delimiter. But then, this depends on language specific settings.
Can this work with your validator?
Also, can it deal with the thousand's point? e.g. 10.000,27 is a valid
number here.
 

Ciao,
Mario


Mime
View raw message