2 Replies Latest reply on Apr 9, 2007 2:18 PM by nbelaevski

    Why Tree component don't remember its state ?

    johnbat26

      Morning!
      I am using tree component on my page.
      ----------------------------
      <h:form xmlns:rich="http://richfaces.ajax4jsf.org/rich"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:s="http://jboss.com/products/seam/taglib">
      <rich:tree switchType="client" var="item" value="#{treeMenu.data}"
      nodeFace="#{item.type}">
      <rich:treeNode type="treeMenu">
      <h:outputText value="#{item.type}" />
      </rich:treeNode>
      <rich:treeNode type="section">
      <h:outputText value="#{item.value}" />
      </rich:treeNode>
      <rich:treeNode type="subsection">
      <h:outputText value="#{item.value}" />
      </rich:treeNode>
      <rich:treeNode type="link">
      <s:link value="#{item.value}" view="#{item.redirect}" />
      </rich:treeNode>
      </rich:tree>
      </h:form>
      ----------------------------------------------
      During click on <s:link ... >, occurred what tree discard its state in initial and close all nodes !!!
      HELP ME, PLEASE !