<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Hallo list,<br>
<br>
thank you for the helping. <br>
Now, I've derived my class TestBranch from "OFS.SimpleItem", which does
have a method "getId()" and from "Persistent". The behaviour is much
better and reproducible - but still not correct: Clicking on one
plus-sign all the plus-signs of the chosen layer change to minus and
are expanded, nevertheless the branch belongs to the chosen sign or not.<br>
<br>
In my example:<br>
I have the branches:<br>
a<br>
b<br>
c<br>
Clicking on a the branches of b and c are expanded, too.<br>
<br>
Do you have an idea, what I make wrong?<br>
<br>
Again, many thanks in advance,<br>
Ulla. <br>
<br>
Dieter Maurer wrote:<br>
<blockquote type="cite"
 cite="mid16939.18165.446905.337797@gargle.gargle.HOWL">
  <pre wrap="">Ulla Theiss wrote at 2005-3-6 11:05 +0100:
  </pre>
  <blockquote type="cite">
    <pre wrap="">I've a problem with dtml-tree.
When I click on the first "plus sign" the branches may be expanded, or 
nothing may be happen or one of the other branches may be expanded. The 
same behaviour occurs with the attempt to collapse or expand the other 
branches.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
"dtml-tree" needs persistent (!) ids to get expansion/collapsing right.
It has an attribute with which you can control how the "id" is
determined. In your case, it probably should be "str".

  </pre>
</blockquote>
</body>
</html>