You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org> on 2007/08/09 11:35:42 UTC
[jira] Created: (TRINIDAD-620) Client Side Date Restriction: to
long error messages
Client Side Date Restriction: to long error messages
----------------------------------------------------
Key: TRINIDAD-620
URL: https://issues.apache.org/jira/browse/TRINIDAD-620
Project: MyFaces Trinidad
Issue Type: Bug
Reporter: Matthias Weßendorf
Assignee: Matthias Weßendorf
Priority: Minor
There are sometimes to long error messages for the TrDateRestrictionValidator class
when a user days invalid month="jan dec"
he get's a hint / error message like:
Enter a date from the following month(s): February,March,April,May,June,July,August,September,October,November.
That's too long.
Do a check like:
if (invalidMonth.length >= 6)
"say what month are valid;"
else
"say what month are INvalid;"
(same is true for invalid weekdays)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.