[ http://issues.apache.org/jira/browse/ADFFACES-249?page=all ]
Gabrielle Crawford updated ADFFACES-249:
----------------------------------------
Status: Patch Available (was: Open)
> 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
> Attachments: patch249.patch
>
>
> 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