The modalPanel below works. However, if I try to replace ui:decorate with
a4j:include I get an empty modal panel.
Clearly I am doing something incorrect. Can any suggest what it is?
<rich:modalPanel id="contact-modal-container" minHeight="350" minWidth="450" height="350" width="500" zindex="20000"> <f:facet name="header"> <h:outputText id="txtModalContatcUs" value="#{msgs.universal_contactus}" /> </f:facet> <f:facet name="controls"> <h:graphicImage id="graphicCloseModal2" value="/images/universal_image/close.png" style="cursor:pointer" onclick="Richfaces.hideModalPanel('contact-modal-container')" /> </f:facet> <ui:decorate id="decorateContactModal" template="/pages/common/universal/contactModal.xhtml" /> </rich:modalPanel>
It is the same http://jira.jboss.com/jira/browse/RF-5 problem
Already fixed in SVN.
3.0.1 will contain the fix. You can take the SNAPSHOT of it if you want. The workaround for 3.0.0 is using h:panelGrid around the include