This content has been marked as final.
Show 2 replies
-
1. Re: How to display user defined error message for Integer columns
gaborj Oct 25, 2010 10:27 AM (in response to maruthyshetty)- you can override Hibernate validation messages in messages.properties
- depends on your Faces implementation too, but generally speaking in JSF you can use validator methods to be called from your jsf component s.g. like in e.g. h:inputText:
validator="#{myBean.validateMyNumber}"
and in that method use
FacesMessages.addXY
to display any messages...
-
2. Re: How to display user defined error message for Integer columns
maruthyshetty Oct 27, 2010 6:16 AM (in response to maruthyshetty)Thanks Gabor Jakab
Finally i got the solution using jsf converter and converterMessage.
Thanks and Regards
Maruhty