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 19:06:13 UTC

[jira] Created: (ADFFACES-109) client side validation: remove exception detail syntax requirement

client side validation: remove exception detail syntax requirement
------------------------------------------------------------------

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


The framework shows client errors like this "[label] - The value '[value]' is not a number. The way this is implemented is that when client converters and validators are written they are expected to return exceptions with details that have the following syntax:

{0} - The value '{1}' is not a number

Then the framework replaces {0} with the label and {1} with the value

The exception detail should not be required to have this syntax. The detail should just be "The value '{1}' is not a number".

To get the format wanted the framework should send the value of af_messages.GLOBAL_MESSAGE_FORMAT to the client and the client should use that to create the string. An example of the value of the format string is : {0} - {1}, where the framework would use the the component's label for {0} and converter's detail for {1}.



-- 
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] Assigned: (ADFFACES-109) client side validation: remove exception detail syntax requirement

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

Adam Winer reassigned ADFFACES-109:
-----------------------------------

    Assignee: Adam Winer

> client side validation: remove exception detail syntax requirement
> ------------------------------------------------------------------
>
>                 Key: ADFFACES-109
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-109
>             Project: MyFaces ADF-Faces
>          Issue Type: Improvement
>            Reporter: Gabrielle Crawford
>         Assigned To: Adam Winer
>         Attachments: issue109.patch
>
>
> The framework shows client errors like this "[label] - The value '[value]' is not a number. The way this is implemented is that when client converters and validators are written they are expected to return exceptions with details that have the following syntax:
> {0} - The value '{1}' is not a number
> Then the framework replaces {0} with the label and {1} with the value
> The exception detail should not be required to have this syntax. The detail should just be "The value '{1}' is not a number".
> To get the format wanted the framework should send the value of af_messages.GLOBAL_MESSAGE_FORMAT to the client and the client should use that to create the string. An example of the value of the format string is : {0} - {1}, where the framework would use the the component's label for {0} and converter's detail for {1}.

-- 
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-109) client side validation: remove exception detail syntax requirement

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

Gabrielle Crawford updated ADFFACES-109:
----------------------------------------

    Attachment: issue109.patch

> client side validation: remove exception detail syntax requirement
> ------------------------------------------------------------------
>
>                 Key: ADFFACES-109
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-109
>             Project: MyFaces ADF-Faces
>          Issue Type: Improvement
>            Reporter: Gabrielle Crawford
>         Attachments: issue109.patch
>
>
> The framework shows client errors like this "[label] - The value '[value]' is not a number. The way this is implemented is that when client converters and validators are written they are expected to return exceptions with details that have the following syntax:
> {0} - The value '{1}' is not a number
> Then the framework replaces {0} with the label and {1} with the value
> The exception detail should not be required to have this syntax. The detail should just be "The value '{1}' is not a number".
> To get the format wanted the framework should send the value of af_messages.GLOBAL_MESSAGE_FORMAT to the client and the client should use that to create the string. An example of the value of the format string is : {0} - {1}, where the framework would use the the component's label for {0} and converter's detail for {1}.

-- 
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-109) client side validation: remove exception detail syntax requirement

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

Adam Winer updated ADFFACES-109:
--------------------------------

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

> client side validation: remove exception detail syntax requirement
> ------------------------------------------------------------------
>
>                 Key: ADFFACES-109
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-109
>             Project: MyFaces ADF-Faces
>          Issue Type: Improvement
>            Reporter: Gabrielle Crawford
>         Assigned To: Adam Winer
>         Attachments: issue109.patch
>
>
> The framework shows client errors like this "[label] - The value '[value]' is not a number. The way this is implemented is that when client converters and validators are written they are expected to return exceptions with details that have the following syntax:
> {0} - The value '{1}' is not a number
> Then the framework replaces {0} with the label and {1} with the value
> The exception detail should not be required to have this syntax. The detail should just be "The value '{1}' is not a number".
> To get the format wanted the framework should send the value of af_messages.GLOBAL_MESSAGE_FORMAT to the client and the client should use that to create the string. An example of the value of the format string is : {0} - {1}, where the framework would use the the component's label for {0} and converter's detail for {1}.

-- 
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-109) client side validation: remove exception detail syntax requirement

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

Gabrielle Crawford updated ADFFACES-109:
----------------------------------------

    Status: Patch Available  (was: Open)

> client side validation: remove exception detail syntax requirement
> ------------------------------------------------------------------
>
>                 Key: ADFFACES-109
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-109
>             Project: MyFaces ADF-Faces
>          Issue Type: Improvement
>            Reporter: Gabrielle Crawford
>         Attachments: issue109.patch
>
>
> The framework shows client errors like this "[label] - The value '[value]' is not a number. The way this is implemented is that when client converters and validators are written they are expected to return exceptions with details that have the following syntax:
> {0} - The value '{1}' is not a number
> Then the framework replaces {0} with the label and {1} with the value
> The exception detail should not be required to have this syntax. The detail should just be "The value '{1}' is not a number".
> To get the format wanted the framework should send the value of af_messages.GLOBAL_MESSAGE_FORMAT to the client and the client should use that to create the string. An example of the value of the format string is : {0} - {1}, where the framework would use the the component's label for {0} and converter's detail for {1}.

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