incubator-adffaces-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Winer (JIRA)" <adffaces-iss...@incubator.apache.org>
Subject [jira] Assigned: (ADFFACES-109) client side validation: remove exception detail syntax requirement
Date Tue, 08 Aug 2006 00:49:19 GMT
     [ 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

        

Mime
View raw message