Hi all,
I have a date field using rich:calendar which allow manual input or pick up from calendar. (in each row of the datatable)
Now I have to vaildate the manual input date and output the error message after the field lost focus. But I found that the validation method only be triggered when the datatable is rerendered.
So, I would like to ask, can the validation method runs when the calendar field is lost focus?
I am looking forward to receive your reply and help.
==
<rich:calendar value="#{hot.closeDate}"
locale="en/US"
popup="true"
datePattern="dd/MM/yyyy"
showInput="true"
action="#{glCostCntrList.doReload}"
enableManualInput="true"
showApplyButton="false" cellWidth="24px" cellHeight="22px"
style="width:200px"
valueChangeListener="#{hot.valueChangedListener}" >
<f:validator validatorId="calendarValidator" />
<rich:ajaxValidator event="onblur"/>
</rich:calendar>