How to fetch the error message in bean?
My codes look as follow:
test.jsp
*********
...
<t:inputCalendar id="birthtday" value="#{myBean.birthday}" popupDateFormat="dd.MM.yyyy">
...
<h:messages layout="table" showDetail="true" />
...
test.java
*********
...
getBirthday()...
setBirthday()...
...
Normally if the typed birthday has format error such as 123.34.20034, the error message will be catched and print out by h:messages.
My question: is it possible to catch the error in the bean (mytest.java) class?

