1 Reply Latest reply on Mar 16, 2007 5:32 PM by Sergey Smirnov

    modal panel ui:decorate vs a4j:include

    Kevin Gutch Newbie

      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>