Re: [Zope] Custom tpValues for dtml-tree

2000-12-03 Thread Dieter Maurer
Randall Kern writes: > > Error Type: AttributeError > Error Value: 'tuple' object has no attribute 'append' > > File /usr/src/Zope-2.2.2-src/lib/python/TreeDisplay/TreeTag.py, line 566, > in apply_diff > (Info: ([None, ([140975456, []],)], [140974880, 140974088])) > Attribu

Re: [Zope] Custom tpValues for dtml-tree

2000-12-01 Thread Chris Withers
Randall Kern wrote: > > This works fine for the first page, but once I try to expand an item I get: > > Error Type: AttributeError > Error Value: 'tuple' object has no attribute 'append' This, IIRC, is a bug in dtml-tree that no-one ever managed to fix. Maybe someone at DC could help? Try stic

[Zope] Custom tpValues for dtml-tree

2000-11-30 Thread Randall Kern
I'm trying to write a method that works with dtml-tree. It works great, until I try to expand a node :( Here's what I've got: class Foo: __allow_access_to_unprotected_subobjects = 1 def __init__(self, item): self.title = item.title self.items = item.items def tpVal