[
http://opensource.atlassian.com/projects/hibernate/browse/HV-407?page=com...
]
Hardy Ferentschik commented on HV-407:
--------------------------------------
This behavior is actually specified on the spec (2.3.4 Localization of Bean Validation
Messages). Let's add something to the docs.
Update "Presentation layer validation" section
----------------------------------------------
Key: HV-407
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HV-407
Project: Hibernate Validator
Issue Type: Improvement
Components: documentation
Affects Versions: 4.1.0.Final
Environment: not important
Reporter: Daniel Teleginski Camargo
Priority: Minor
Fix For: 4.2.0.CR1
Original Estimate: 1h
Remaining Estimate: 1h
Hi,
I believe that would be important to update the section "6.4. Presentation layer
validation" letting it mention that the key:
javax.faces.validator.BeanValidator.MESSAGE={0} {1}
Can be placed inside the Message Bundle file to improve the way that messages will be
displayed for JSF2.
{0} is the message acquired from the Validator.
{1} is the label of the field with validation error.
This could also be done by adding a TIP to section 6.4.
Thank you and congratulations for this amazing tool.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira