You've got a nested form. Remove the <h:form> and its closing tag from around the <rich:calendar> tag. Or, more appropriately, move the popupPanel tag and all of its contents outside of the main form tag.
Sorry, but that changes anything
If it's not a bug in Richfaces4 does anybody have a working example for me?
serendipitously I found a solution for that problem. First of all Eric you're totaly right with the nested forms. I won't work like that. But that was not the main problem. There must be any rendering issue with the calender component. If I open the popupPanel like that, the calender component works as expected.
<h:commandButton value="Call the popup"> <f:ajax execute="@none" render=":frmCal" /> <rich:componentControl target="popup" operation="show" /> </h:commandButton>
Regrettably I haven't had the opportunity to start working with RF 4 yet so I couldn't comment on possible bugs causing the behavior. I just noticed the nested form and knew that would not work as you expected.