3 Replies Latest reply on Jun 18, 2007 9:25 AM by bkyrlach

    Rich modal panel + ajax4jsf include?

    bkyrlach

      I want to have a modal panel that contains a small wizard for performing some action inside my webapp. In my view I have the following code snippet...

      <ui:define name="content">
       <rich:modalPanel id="editSchoolSportPanel" minWidth="580" minHeight="400" zindex="200">
       <f:facet name="header">
       <h:outputText value="Edit Sport" />
       </f:facet>
       <f:facet name="controls">
       </f:facet>
       <h:panelGrid>
       <a:include viewId="/notAuthorized.xhtml"/>
       </h:panelGrid>
      


      However, I get JavaScript errors when I load the page, stating that there is too much recursion. If I just put some basic content in the modal panel, it works just fine. If I put the ajax include somewhere outside the modal panel, it works just fine. However, I really need the ajax include to live inside the modal panel. Any ideas on what to do?