This content has been marked as final. 
    
Show                 2 replies
    
- 
        1. Re: rich:ModalPanel loosing its facetsalexanderbelov Jun 13, 2007 3:12 AM (in response to dougthug)<h:form> must be inside <rich:modalPanel>. 
 <f:facet> components must be children of <rich:modalPanel>.
 <rich:modalPanel>
 <f:facet name="header">
 <h:outputText value="Test" />
 </f:facet>
 <f:facet name="controls">
 <h:commandLink value="Close" style="cursor:pointer" onclick="Richfaces.hideModalPanel('mp')" />
 </f:facet>
 <h:form>
 <t:commandButton value="Test" action="#{TESTCONTROLLER.test}" />
 </h:form>
 </rich:modalPanel>
- 
        2. Re: rich:ModalPanel loosing its facetsdougthug Jun 13, 2007 11:16 AM (in response to dougthug)Well it throws an IllegalArgumentException for having the "Close" link outside of a form, but if I remove the commandLink from the facet and put it next to the "Test" commandButton, they both work and the facet is rendered, so I can live with that. Thanks for the quick reply. 
 
    