I have a richfaces calendar component defined as
<rich:calendar id="startDate" value="#{myBean.dateSet.startDate}"
timeZone="#{myBean.dateSet.timeZone}"
datePattern="#{myBean.dateSet.datePattern}"
enableManualInput="true" immediate="true">
<a4j:support event="onchanged" action="#{myBean.adjustEndDate}"
reRender="startDate,endDate" ajaxSingle="true" />
</rich:calendar>
when I change the date using the / gui popup, everything works fine.
However, when I change it using an input text field, the value is not updated to myBean.dateSet.startDate, although it is correctly updated by the calendar component itself (i.e. if I click on the calendar pop-up window icon it shows the updated current date).
Any suggestions on how I can get it to update myBean value correctly?
Thank!
source
share