You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org> on 2006/06/19 16:27:30 UTC

[jira] Closed: (TAPESTRY-795) Client-side validation of numbers doesn't allow punctuation

     [ http://issues.apache.org/jira/browse/TAPESTRY-795?page=all ]
     
Jesse Kuhnert closed TAPESTRY-795:
----------------------------------

    Fix Version: 4.1
     Resolution: Fixed

This is in the middle of being fixed already with the new validation client side system ala dojo. IBM has contributed i8n code that will allow the same sort of flexibility on the client side that people have been used to on the server. 

> Client-side validation of numbers doesn't allow punctuation
> -----------------------------------------------------------
>
>          Key: TAPESTRY-795
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-795
>      Project: Tapestry
>         Type: Bug

>   Components: Framework
>     Versions: 4.0
>     Reporter: Howard M. Lewis Ship
>     Priority: Minor
>      Fix For: 4.1

>
> Client side input validation assumes that numbers can be validated using isNaN(), which knows nothing about punctiation:  1,000,000 is a valid number that will be rejected.
> Further, on the server side, this value will not be handled correctly; if the translator's pattern is "#" (the default), this value is truncated to "1" rather than it being an input error.  In any case, the client and the server should support grouping characters as defined by the active locale.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org