This content has been marked as final.
Show 1 reply
-
1. Re: rich:calender not updating backing bean
amarkhel Sep 29, 2010 6:05 AM (in response to chakri_jboss)You should post you stacktrace and full page code.
Anyway, 1. <h:inputText id="daysofleave" value="#{numberOfDays}" ajaxRendered="true"/> h:inputText haven't attribbute ajaxRendered.
2. <a4j:support event="onchanged" action="countNumberOfDays" reRender="daysofleave" ajaxSingle="true"/> After click event rerendered only your h:inputText, it is wrong your must rerender some container. like this :
<a4j:region id="daysofleave">
<h:inputText value="#{numberOfDays}" ajaxRendered="true"/>
</a4j:region>3. You clearly understand why you use ajaxSingle="true" attribbute? What will be if remove this attribbute?