0 Replies Latest reply on Jun 18, 2009 4:54 PM by adam kanicki

    collapsing rich:tree

    adam kanicki Newbie

      This is snippet of my code. I use RichFaces and Facelets.

      <a4j:form>
      <rich:tree value="#{menuTreeBean.rootNode}" var="item" switchType="server" reRender="selectedNode" ajaxSubmitSelection="server">
      </rich:tree>
      </a4j:form>

      I use this tree for a menu like in PhotAlbum. But when I expand tree and reload page or click on navigation link , all the tree always collapsed. I don't want to collapse tree after reloading the page. How to do that ?