have you found any errors in the error console?
I guess you would need to debug the calendar's code to see what's happening:
The affected code is here:
handler should call calendar's switchPopup() method:
Well, the function switchPopup() is invoked twice in row. So it pops up and then hides immediately. It's like I click the calendar button twice but I don't.
Could you analyse the call stack why it is called twice? By which method?
For both calls the stack is the same:
(anonymous function) (:2)
I'm using PrimeFaces 3.2 and RichFaces 4.2.Final (I also tried 4.2.1CR1 but the behaviour is the same)
Lukas, your observations regrettably does not explain the behavior, could you please provide the sample app, like Jorge did?
Jorge, would you be able to release your application  under the OSS license (e.g. ASL ), so others would be able to build on top of that?
Placing the LICENSE.txt file in root of the source code would be enough.