How to number JSF error messages and attach number to invalid component
- by Pich
I want to number any JSF error messages (e.g. validation, conversion messages) that appears if a user enters invalid input in a couple of input fields. For example like this when the user sends the form:
Name cannot contain numbers
E-mail is incorrect
----- Form ------
(1) Name: John 13 Doe
Age: 30
(2) E-mail: myemail@domain
How can I…