Richfaces calendar manual input value not binding

Posted by John on Stack Overflow See other posts from Stack Overflow or by John
Published on 2010-06-16T06:46:06Z Indexed on 2010/06/16 6:52 UTC
Read the original article Hit count: 760

Filed under:
|

Hi,

I've got 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'm changing the date using the calendar popup/gui everything is working fine.

However when I'm changing it via the input text field, the value is not being updated to myBean.dateSet.startDate, although it is being updated correctly on the calendar component itself (i.e. if I click the icon for calendar popup it shows the updated current date).

Any suggestions on how I can get it to update the value to myBean correctly?

Thanks!

© Stack Overflow or respective owner

Related posts about seam

Related posts about richfaces