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/08/02 00:23:14 UTC

[jira] Created: (ADFFACES-107) client side validation

client side validation
----------------------

                 Key: ADFFACES-107
                 URL: http://issues.apache.org/jira/browse/ADFFACES-107
             Project: MyFaces ADF-Faces
          Issue Type: Improvement
            Reporter: Gabrielle Crawford


Client converters and validators should return 2 things, either a legit value or an exception. The current framework does some strange thing where if a converter or validator returns null it goes to a special array and looks up a default error message. I would like to remove this special default error message array .

 This means the default error string will be passed to the constructor rather than put into the default error array. Once request 106 is implemented the converter or validator can look up the default string with a key.
https://issues.apache.org/jira/browse/ADFFACES-106

-- 
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-107) client side validation: remove default error array

Posted by "Gabrielle Crawford (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-107?page=all ]

Gabrielle Crawford updated ADFFACES-107:
----------------------------------------

    Attachment: issue107.patch

> client side validation: remove default error array
> --------------------------------------------------
>
>                 Key: ADFFACES-107
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-107
>             Project: MyFaces ADF-Faces
>          Issue Type: Improvement
>            Reporter: Gabrielle Crawford
>         Attachments: issue107.patch
>
>
> Client converters and validators should return 2 things, either a legit value or an exception. The current framework does some strange thing where if a converter or validator returns null it goes to a special array and looks up a default error message. I would like to remove this special default error message array .
>  This means the default error string will be passed to the constructor rather than put into the default error array. Once request 106 is implemented the converter or validator can look up the default string with a key.
> https://issues.apache.org/jira/browse/ADFFACES-106

-- 
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-107) client side validation: remove default error array

Posted by "Gabrielle Crawford (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-107?page=all ]

Gabrielle Crawford updated ADFFACES-107:
----------------------------------------

    Summary: client side validation: remove default error array  (was: client side validation)

> client side validation: remove default error array
> --------------------------------------------------
>
>                 Key: ADFFACES-107
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-107
>             Project: MyFaces ADF-Faces
>          Issue Type: Improvement
>            Reporter: Gabrielle Crawford
>
> Client converters and validators should return 2 things, either a legit value or an exception. The current framework does some strange thing where if a converter or validator returns null it goes to a special array and looks up a default error message. I would like to remove this special default error message array .
>  This means the default error string will be passed to the constructor rather than put into the default error array. Once request 106 is implemented the converter or validator can look up the default string with a key.
> https://issues.apache.org/jira/browse/ADFFACES-106

-- 
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-107) client side validation: remove default error array

Posted by "Gabrielle Crawford (JIRA)" <ad...@incubator.apache.org>.
    [ http://issues.apache.org/jira/browse/ADFFACES-107?page=comments#action_12425080 ] 
            
Gabrielle Crawford commented on ADFFACES-107:
---------------------------------------------

The array has to stay around for required error messages, but does not need to be used by client converters and validators.

> client side validation: remove default error array
> --------------------------------------------------
>
>                 Key: ADFFACES-107
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-107
>             Project: MyFaces ADF-Faces
>          Issue Type: Improvement
>            Reporter: Gabrielle Crawford
>
> Client converters and validators should return 2 things, either a legit value or an exception. The current framework does some strange thing where if a converter or validator returns null it goes to a special array and looks up a default error message. I would like to remove this special default error message array .
>  This means the default error string will be passed to the constructor rather than put into the default error array. Once request 106 is implemented the converter or validator can look up the default string with a key.
> https://issues.apache.org/jira/browse/ADFFACES-106

-- 
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-107) client side validation: remove default error array

Posted by "Gabrielle Crawford (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-107?page=all ]

Gabrielle Crawford updated ADFFACES-107:
----------------------------------------

        Status: Resolved  (was: Patch Available)
    Resolution: Fixed

awiner checked my patch. Thanks.

> client side validation: remove default error array
> --------------------------------------------------
>
>                 Key: ADFFACES-107
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-107
>             Project: MyFaces ADF-Faces
>          Issue Type: Improvement
>            Reporter: Gabrielle Crawford
>         Attachments: issue107.patch
>
>
> Client converters and validators should return 2 things, either a legit value or an exception. The current framework does some strange thing where if a converter or validator returns null it goes to a special array and looks up a default error message. I would like to remove this special default error message array .
>  This means the default error string will be passed to the constructor rather than put into the default error array. Once request 106 is implemented the converter or validator can look up the default string with a key.
> https://issues.apache.org/jira/browse/ADFFACES-106

-- 
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-107) client side validation: remove default error array

Posted by "Gabrielle Crawford (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-107?page=all ]

Gabrielle Crawford updated ADFFACES-107:
----------------------------------------

    Status: Patch Available  (was: Open)

> client side validation: remove default error array
> --------------------------------------------------
>
>                 Key: ADFFACES-107
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-107
>             Project: MyFaces ADF-Faces
>          Issue Type: Improvement
>            Reporter: Gabrielle Crawford
>         Attachments: issue107.patch
>
>
> Client converters and validators should return 2 things, either a legit value or an exception. The current framework does some strange thing where if a converter or validator returns null it goes to a special array and looks up a default error message. I would like to remove this special default error message array .
>  This means the default error string will be passed to the constructor rather than put into the default error array. Once request 106 is implemented the converter or validator can look up the default string with a key.
> https://issues.apache.org/jira/browse/ADFFACES-106

-- 
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-107) client side validation: remove default error array

Posted by "Matthias Weßendorf (JIRA)" <ad...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/ADFFACES-107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Weßendorf updated ADFFACES-107:
----------------------------------------

        Fix Version/s: 1.0.0-incubating-core
    Affects Version/s: 1.0.0-incubating-core

> client side validation: remove default error array
> --------------------------------------------------
>
>                 Key: ADFFACES-107
>                 URL: https://issues.apache.org/jira/browse/ADFFACES-107
>             Project: MyFaces ADF-Faces
>          Issue Type: Improvement
>    Affects Versions: 1.0.0-incubating-core
>            Reporter: Gabrielle Crawford
>             Fix For: 1.0.0-incubating-core
>
>         Attachments: issue107.patch
>
>
> Client converters and validators should return 2 things, either a legit value or an exception. The current framework does some strange thing where if a converter or validator returns null it goes to a special array and looks up a default error message. I would like to remove this special default error message array .
>  This means the default error string will be passed to the constructor rather than put into the default error array. Once request 106 is implemented the converter or validator can look up the default string with a key.
> https://issues.apache.org/jira/browse/ADFFACES-106

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ADFFACES-107) client side validation: remove default error array

Posted by "Gabrielle Crawford (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-107?page=all ]

Gabrielle Crawford updated ADFFACES-107:
----------------------------------------

    Status: Patch Available  (was: Open)

> client side validation: remove default error array
> --------------------------------------------------
>
>                 Key: ADFFACES-107
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-107
>             Project: MyFaces ADF-Faces
>          Issue Type: Improvement
>            Reporter: Gabrielle Crawford
>
> Client converters and validators should return 2 things, either a legit value or an exception. The current framework does some strange thing where if a converter or validator returns null it goes to a special array and looks up a default error message. I would like to remove this special default error message array .
>  This means the default error string will be passed to the constructor rather than put into the default error array. Once request 106 is implemented the converter or validator can look up the default string with a key.
> https://issues.apache.org/jira/browse/ADFFACES-106

-- 
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-107) client side validation: remove default error array

Posted by "Gabrielle Crawford (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-107?page=all ]

Gabrielle Crawford updated ADFFACES-107:
----------------------------------------

    Status: Open  (was: Patch Available)

> client side validation: remove default error array
> --------------------------------------------------
>
>                 Key: ADFFACES-107
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-107
>             Project: MyFaces ADF-Faces
>          Issue Type: Improvement
>            Reporter: Gabrielle Crawford
>
> Client converters and validators should return 2 things, either a legit value or an exception. The current framework does some strange thing where if a converter or validator returns null it goes to a special array and looks up a default error message. I would like to remove this special default error message array .
>  This means the default error string will be passed to the constructor rather than put into the default error array. Once request 106 is implemented the converter or validator can look up the default string with a key.
> https://issues.apache.org/jira/browse/ADFFACES-106

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