problem with tomahawk inputCalendar events
Hi all.
Im using tomahawk in combination with ajax4jsf and facelets. However,im having a problem with an inputCalendar component. When the user changes the date with this calendar (an "onchange" event), the week of the year of that date is calculated and updated in an h:inputText component. It works fine,but just when I change a field of the calendar,not when I changed the date from the popup calendar that appears. Any ideas? Here is the code:
<h:outputText value="#{msg.endDate}"/>
<t:inputDate value="#{persopBean.endDate}" popupCalendar="true">
<a4j:support event="onchange" action="#{persopBean.calcEndweek}" reRender="endweek" />
</t:inputDate>
<h:outputText value="#{msg.endWeek}"/>
<h:inputText id="endweek" value="#{persopBean.endweeknumber}" disabled="true"/>

