This content has been marked as final.
Show 2 replies
-
1. Re: rich:calendar does not update when disabled
ilya_shaikovsky Oct 31, 2008 5:27 AM (in response to shandor)works ok for me
<a4j:outputPanel id="calendar" layout="block"> <rich:calendar value="#{calendarBean.selectedDate}" disabled="true" locale="#{calendarBean.locale}" popup="#{calendarBean.popup}" datePattern="#{calendarBean.pattern}" showApplyButton="#{calendarBean.showApply}" cellWidth="24px" cellHeight="22px" style="width:200px"/> <h:inputText value="#{calendarBean.selectedDate}"/> </a4j:outputPanel> <a4j:commandButton reRender="calendar" ajaxSingle="true" action="#{calendarBean.changeDate}">
seems your forgot that if the control which changes the date should be immediate or ajaxSingle. -
2. Re: rich:calendar does not update when disabled
shandor May 23, 2009 11:15 AM (in response to shandor)Thanks Iliya,
I still think there is something wrong with the calendar. It is true that actions
that takes place up to, and including the INVOKE_APPLICATION stage, will update the component correctly. But any change to the value after that ( and before the RENDER_RESPONSE stage ) will be ignored.
This is happening only for the value of the calendar, the tool tip ( title ) will update correctly.
Any ideas ?
Thanks