0 Replies Latest reply on Jun 6, 2008 3:28 AM by Denis Marzadro

    rich:treeNode rerender problem?

    Denis Marzadro Novice

      i used rich:treeNode (richfaces 3.2.1GA) to define a specific behaviour for each type of node and tryed to reRender panels depending of type of node selected but it didn't worked.
      I soved setting reRender on tree like this:
      reRender="#{item.leaf ? 'panelOne' : 'panelTwo'}"

      what i would like to do but i haven't been able to do is:

      <rich:tree nodeSelectListener="#{myFormBean.processSelection}"
      ajaxSubmitSelection="true" switchType="ajax"
      value="#{myFormBean.myTree}" nodeFace="#{item.type}"
      var="item" >
      <rich:treeNode type="folder" reRender="panOne">
      <h:outputText value="#{item.text}"/>
      <rich:treeNode type="leaf" reRender="panTwo">
      <h:outputText value="#{item.text}"/>