-
1. Re: Using rich:calender on rich:popupPanel
esford Feb 15, 2011 4:27 PM (in response to jensmander)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.
-
2. Re: Using rich:calender on rich:popupPanel
jensmander Feb 16, 2011 2:50 AM (in response to esford)Sorry, but that changes anything
If it's not a bug in Richfaces4 does anybody have a working example for me?
-
3. Re: Using rich:calender on rich:popupPanel
jensmander Feb 16, 2011 8:01 AM (in response to jensmander)Hi,
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>
Regards
Sascha
-
4. Re: Using rich:calender on rich:popupPanel
esford Feb 16, 2011 4:58 PM (in response to jensmander)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.