Good afternoon, dear RF developers.
After updating RichFaces to version "v.3.2.1-SNAPSHOT SVN $Revision: 7513 $ $Date: 2008-03-31 21:05:05 -0400 (Mon, 31 Mar 2008) $" from version "v.3.2.0.SR1 SVN $Revision: 7782 $ $Date: 2008-04-11 15:10:54 -0700 (Fri, 11 Apr 2008) $", I've faced a problem: when I try to submit a form with one or more rich:calendars, the error is shown in the logs:
ERROR [CalendarRendererBase] Could not instantiate converter for type class java.util.Date: java.lang.NullPointerException
and if rich:calendar is a required field(required="true"), it's no matter if it's filled or not, there's always validation error: "the field is empty".
My calendar code is:
<h:panelGroup>
<a4j:region id="calendar_attestationPlannedDateEdit" layout="block">
<rich:calendar id="attestationPlannedDateEdit"
value="#{amBean.attestation.plannedDate}"
enableManualInput="#{amBean.calendarEnableManualInput}"
popup="#{amBean.calendarPopup}"
locale="#{amBean.calendarLocale}"
datePattern="#{amBean.calendarPattern}"
showInput="#{amBean.calendarShowInput}"
required="true" requiredMessage="#{constMan.requiredMessage}"/>
</a4j:region>
<rich:message styleClass="rich_error_message" for="attestationPlannedDateEdit">
<f:facet name="passedMarker">
<h:graphicImage value="images/valid_ok.gif" />
</f:facet>
<f:facet name="errorMarker">
<h:graphicImage value="images/valid_err.gif" />
</f:facet>
</rich:message>
</h:panelGroup>
and amBean's variables are:
calendarPopup = true;
calendarShowInput = true;
calendarEnableManualInput = true;
calendarPattern = "dd.MM.yyyy";
Any help would be appreciated. Thank you in advance!