myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias Weßendorf (JIRA) <>
Subject [jira] Created: (TRINIDAD-620) Client Side Date Restriction: to long error messages
Date Thu, 09 Aug 2007 09:35:42 GMT
Client Side Date Restriction: to long error messages

                 Key: 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;"
  "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.

View raw message