- 
        1. Re: Open Modalpanel from another modalpanel (domElementAttachment)mcmurdosound Oct 26, 2011 2:01 PM (in response to renegritsch)I can reproduce this behaviour: <h:form> <a4j:commandButton value="open mp1" onclick="#{rich:component('mp1')}.show();"/> </h:form> <rich:modalPanel id="mp1"> <f:facet name="header">mp1</f:facet> <h:form id="mp1form"> mp1 <a4j:commandButton value="show mp2" onclick="#{rich:component('mp2')}.show();"/> <a4j:commandButton value="close" onclick="#{rich:component('mp1')}.hide();"/> </h:form> </rich:modalPanel> <rich:modalPanel id="mp2" domElementAttachment="body"> <f:facet name="header">mp2</f:facet> <h:form id="mp2form"> mp2 <a4j:commandButton value="close" onclick="#{rich:component('mp2')}.hide();"/> </h:form> </rich:modalPanel> if you change the second modalpanel parameters to: domElementAttachment="parent" then this panel would open in the background. Do you really need your modal panel(s) to be attached to their parents? 
- 
        2. Re: Open Modalpanel from another modalpanel (domElementAttachment)renegritsch Oct 26, 2011 2:10 PM (in response to mcmurdosound)To be honest I am not sure, I´ve removed them for now. The problem is, that we have hundrets of subdialogs which open in a modalpanel (we have our own gui framework around richfaces 3.3.3) and I can darkly remember we had problems with <a4j:outputpanels ajaxrendered="true"> and autosuggestions inside the modalpanels and these helped, but I am not sure. 
 I will check this tomorrow in the office and will let you know, removing domElementAttachment helped for now.
 Thank you,
 René
 
    
