0 Replies Latest reply on Jan 21, 2008 7:29 PM by pietruha

    Tree on the modalPanel - nodes not expanding

    pietruha

      Hi
      I have a tree on the modalPanel. The tree is dynamically included to the panel after ajax rerender of "dialogboxPanel". I can't expand the tree if switchType="server".

      This is the code of the modalPanel:

      <rich:modalPanel id="modalPanel" minHeight="200" minWidth="450" height="400" width="600" zindex="2000">
      
       <a4j:outputPanel id="dialogboxPanel">
       <a4j:include viewId="#{subform}" />
       </a4j:outputPanel>
      
      </rich:modalPanel>


      And this is included tree:

      <a4j:region>
       <a4j:form id="dialogForm">
       <rich:tree>
       ...
       </rich:tree>
      
       ...
      
       </a4j:form>
      </a4j:region>


      If the tree is not included but typed directly into modalPanel then expanding fine:

      <rich:modalPanel id="modalPanel" ...>
      
       <a4j:outputPanel id="dialogboxPanel">
       <a4j:form id="dialogForm">
       <rich:tree>
       ...
       </rich:tree>
       </a4j:form>
       </a4j:outputPanel>
      
      </rich:modalPanel>


      I need to compute a page to include to the modalPanel. What can I do?