Using Richfaces 4, I have a calendar defined as:
<rich:calendar ajaxSingle="true" popup="false" cellWidth="20px" cellHeight="40px"
<a4j:ajax render="mySurroundingPanel" oncomplete="alert('this is called');"/>
The first time I select a date, the "This is called" pops up but the value changed listener is not called. After that if I select a new date the listener is called and the pop up is displayed.
Any ideas? I have tried adding a listener to the a4j:ajax directly and see the same there -- first selection = no call; subsequent selections=works fine.
I actually found my own answer. I had multiple forms on the page. I moved to one form and all works well.