inputDate should display the text provided on validatorMessage attribute
------------------------------------------------------------------------
Key: TOMAHAWK-1348
URL: https://issues.apache.org/jira/browse/TOMAHAWK-1348
Project: MyFaces Tomahawk
Issue Type: Improvement
Components: Date
Affects Versions: 1.1.7
Environment: Java 1.5, Tomcat 6, JSF RI 1.2_08
Reporter: Rogério Pereira Araújo
Priority: Minor
I'm trying to customized the message displayed to the user by specifying a
custom validator message like we have in the example below:
<t:inputDate id="txtBirthDate"
value="#{bean.birthDate}"
validatorMessage="Invalid birth date supplied!"/>
But when I provide a invalid date and submit the data, the following text is
displayed by messages component:
* org.apache.myfaces.Date.INVALID
Is this the correct behavior? What I need to do to display the text supplied in
validatorMessage attribute? Should I attach a date validator to input date to
display my custom validator message?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.