You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-issues@incubator.apache.org by "Gabrielle Crawford (JIRA)" <ad...@incubator.apache.org> on 2006/10/20 03:04:36 UTC

[jira] Commented: (ADFFACES-249) client validation: client converters should return null for empty strings

    [ 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