[Zope] dtml-tree: wrong branchesexpanded/collapsed
Dieter Maurer
dieter at handshake.de
Mon Mar 7 14:03:40 EST 2005
Ulla Theiss wrote at 2005-3-7 12:41 +0100:
>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.
Now, you should give your objects different ids and you are
done...
When you do not set the id, it is ''. And such an id
is not differentiating (as you observe from your "dtml-tree").
--
Dieter
More information about the Zope
mailing list