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.

Reply via email to