Re: [Zope] dtml-tree and a filtered objectValues

2001-01-10 Thread Dieter Maurer
Jim Hebert writes: DMTL method "y": OK, this works: My DTML Method, "y": dtml-return "objectValues(['Folder'])" ... used as: dtml-tree branches_expr="_['y']" ... causes: STRONGError Type: AttributeError/STRONGBR STRONGError Value: __getitem__/STRONGBR I tried

Re: [Zope] dtml-tree and a filtered objectValues

2001-01-10 Thread Jim Hebert
On Wed, 10 Jan 2001, Dieter Maurer wrote: I tried to reproduce this in Zope 2.3 CVS. Sorry, shoulda mentioned, this error came from 2.2.4, and apologies for not testing against at least 2.2.5 first, I managed to miss its release entirely... (I still haven't gotten around to installing it so I

[Zope] dtml-tree and a filtered objectValues

2001-01-09 Thread Jim Hebert
OK, this works: My DTML Method, "y": dtml-tree branches_expr="objectValues(['Folder'])" foo /dtml-tree If I change z to read as follows, it breaks: dtml-tree branches_expr="_['y']" foo /dtml-tree where y is a DTML Method simply containing dtml-return "objectValues(['Folder'])" The error I