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

    Rich modal panel + ajax4jsf include?

    Ben Kyrlach Newbie

      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 name="controls">
       <a:include viewId="/notAuthorized.xhtml"/>

      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?