0 Replies Latest reply on Oct 17, 2007 11:06 AM by khanmurtuza

    implmentation help for tree component

    khanmurtuza Newbie


      I am referring the demo for implementing the tree component and would like to combine it with the modalPannel such that on treeNode selection a popup confirmation is displayed and then the form is submitted, I know that you can't have another form inside rich:modalPannel and invoke it from nodeSelectListener inside tree, any tips in implementing this.

      <h:form>
      <rich:tree style="width:300px" switchType="client"
      stateAdvisor="#{treeDemoStateAdvisor}"
      ajaxSubmitSelection="true"
      nodeSelectListener="#{fileSystemBean.processSelection}"
      reRender="selectedNode">
      <rich:recursiveTreeNodesAdaptor roots="#{fileSystemBean.sourceRoots}" var="item" nodes="#{item.nodes}" />
      </rich:tree>
      </h:form>