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


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to