incubator-adffaces-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gabrielle Crawford (JIRA)" <adffaces-iss...@incubator.apache.org>
Subject [jira] Commented: (ADFFACES-249) client validation: client converters should return null for empty strings
Date Fri, 20 Oct 2006 03:04:36 GMT
    [ http://issues.apache.org/jira/browse/ADFFACES-249?page=comments#action_12443680 ] 
            
Gabrielle Crawford commented on ADFFACES-249:
---------------------------------------------

all the client converters in Trin should follow this behavior, number, color, and date.

> client validation: client converters should return null for empty strings
> -------------------------------------------------------------------------
>
>                 Key: ADFFACES-249
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-249
>             Project: MyFaces ADF-Faces
>          Issue Type: Bug
>            Reporter: Gabrielle Crawford
>            Priority: Minor
>
> Following the server behavior we should trim whitespace and if the string is empty return
null.
> http://java.sun.com/javaee/javaserverfaces/1.1_01/docs/api/javax/faces/convert/DateTimeConverter.html
> http://java.sun.com/javaee/javaserverfaces/1.1_01/docs/api/javax/faces/convert/NumberConverter.html
> The javadoc for the converters above both say "If the specified String - after trimming
- has a zero length, return null."

-- 
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

        

Mime
View raw message