0 Replies Latest reply on Aug 21, 2009 10:35 AM by liuliu

    a bug with 2 tree in the same page with same var attribute?

    liuliu

      hi,

      I have a strange problem with rich:tree. I have 2 rich:tree in 2 modalpanel different in the same page.

      <rich:tree switchType="ajax" var="cc" >
      <rich:treeNode type="CIM10" nodeClass="corps2">
       something
      </rich:treeNode>
      </rich:tree>
      <rich:tree switchType="ajax" var="cc" >
      <rich:treeNode type="CIM10" nodeClass="corps2">
       <h:selectBooleanCheckbox value="#{cc.selected}" rendered="#{cc.selectedRender}"/>
      something
       </rich:treeNode>
      </rich:tree>
      

      when i try to open the node of the first tree, i got a exception property cc.selectedrender not found. if i changed the var attribute of the second tree, it is ok. Is it a bug?

      thanks in advance

      liu