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 "Matthias Weßendorf (JIRA)" <ad...@incubator.apache.org> on 2007/03/16 08:13:10 UTC
[jira] Updated: (ADFFACES-301) dateTimeRangeValidator: client side
error messages don't match server side error messages, need converter
[ https://issues.apache.org/jira/browse/ADFFACES-301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthias Weßendorf updated ADFFACES-301:
----------------------------------------
Fix Version/s: 1.0.0-incubating-core
Affects Version/s: 1.0.0-incubating-core
> dateTimeRangeValidator: client side error messages don't match server side error messages, need converter
> ---------------------------------------------------------------------------------------------------------
>
> Key: ADFFACES-301
> URL: https://issues.apache.org/jira/browse/ADFFACES-301
> 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
>
>
> The client side validator for dateTimeRangeValidator is not formatting the error message values correctly.
> In a field with a date that looks like "11/21/2008"
> - server error message: "The date entered, "11/21/2008", is not within the range of valid dates 1/1/2006 and 12/31/2007."
> - client error message: "The date entered, "Fri Nov 21 2008 16:00:00 GMT-0800 (Pacific Standard Time)", is not within the range of valid dates Sun Jan 01 2006 00:00:00 GMT-0800 (Pacific Standard Time) and Mon Dec 31 2007 00:00:00 GMT-0800 (Pacific Standard Time)."
> Basically in order to give the correct validation message you need the converter. If the client side api's for validator don't support a way to a access the converter we will probably need to pass the converter as a param to the validate method.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.