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 02:08:35 UTC
[jira] Created: (ADFFACES-249) client validation: client converters
should return null for empty strings
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
[jira] Commented: (ADFFACES-249) client validation: client
converters should return null for empty strings
Posted by "Gabrielle Crawford (JIRA)" <ad...@incubator.apache.org>.
[ 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
[jira] Updated: (ADFFACES-249) client validation: client converters
should return null for empty strings
Posted by "Matthias Weßendorf (JIRA)" <ad...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/ADFFACES-249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthias Weßendorf updated ADFFACES-249:
----------------------------------------
Fix Version/s: 1.0.0-incubating-core
Affects Version/s: 1.0.0-incubating-core
> client validation: client converters should return null for empty strings
> -------------------------------------------------------------------------
>
> Key: ADFFACES-249
> URL: https://issues.apache.org/jira/browse/ADFFACES-249
> Project: MyFaces ADF-Faces
> Issue Type: Bug
> Affects Versions: 1.0.0-incubating-core
> Reporter: Gabrielle Crawford
> Assigned To: Matthias Weßendorf
> Priority: Minor
> Fix For: 1.0.0-incubating-core
>
> 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.
-
You can reply to this email to add a comment to the issue online.