2 Replies Latest reply on Mar 10, 2011 3:37 AM by Miguel Esteban

    bad rerendering of rich:tree

    Miguel Esteban Newbie

      Hi, i have a rich:tree and i want to rerender it when click into a button, but when i rerender the tree it doesn't works. The nodes don't expand.

      Can someone help me?? The code is:


      <a4j:outputPanel id="panelExternoPalabrasClave">

                  <c:if test="${arbolPalabrasClaveAction.muestraArbol}">

                       <t:panelGrid columns="1" width="99%" columnClasses="alineacionIzq">

                          <a4j:outputPanel id="panelArbolPalabrasClave" >

                          <rich:tree id="arbolPC" switchType="ajax" style="width:300px;"

                                     value="#{arbolPalabrasClaveAction.rootNode}" var="item" nodeFace="simpleNode" immediate="true">

                              <rich:treeNode type="simpleNode" icon="images/gep/topos_menu.gif" iconLeaf="images/gep/topos_submenu.gif">

                                  <h:selectBooleanCheckbox value="#{item.seleccionado}"/>

                                  <h:outputText escape="false" value="#{item.txt}" />









      When i click the button ${arbolPalabrasClaveAction.muestraArbol} returns true and the tree is rendered, but it doesn't works.