Re: [Zope] Fun with Trees

2000-07-04 Thread Charlie Wilkinson
On Mon, Jul 03, 2000 at 10:38:27PM +0200, Dieter Maurer waxed eloquent: > Charlie Wilkinson writes: > > On Mon, Jul 03, 2000 at 09:35:06AM +0200, Rik Hoekstra waxed eloquent: > > > > > > Charlie Wilkinson writes: > > [...] > > > I'm trying to use dtml-tree to create a selective menu of obje

Re: [Zope] Fun with Trees

2000-07-03 Thread Dieter Maurer
Charlie Wilkinson writes: > On Mon, Jul 03, 2000 at 09:35:06AM +0200, Rik Hoekstra waxed eloquent: > > > > Charlie Wilkinson writes: > [...] > > I'm trying to use dtml-tree to create a selective menu of objects based > > on whether or not the object has an "add_to_menu" property. > [...]

Re: [Zope] Fun with Trees

2000-07-03 Thread Dieter Maurer
Charlie Wilkinson writes: > On Mon, Jul 03, 2000 at 09:35:06AM +0200, Rik Hoekstra waxed eloquent: > > > > Charlie Wilkinson writes: > [...] > > I'm trying to use dtml-tree to create a selective menu of objects based > > on whether or not the object has an "add_to_menu" property. > [...]

Re: [Zope] Fun with Trees

2000-07-03 Thread Rik Hoekstra
> Not sure. Supposedly objectValues() returns "actual objects", and > I assumed that using sequence-item would be something closer to that. > The finer points of python are still lost on me, but I'm working > on it. Hm, you're right of course. > > The bigger problem seems to be the namespac

Re: [Zope] Fun with Trees

2000-07-03 Thread Charlie Wilkinson
On Mon, Jul 03, 2000 at 09:35:06AM +0200, Rik Hoekstra waxed eloquent: > > Charlie Wilkinson writes: [...] > I'm trying to use dtml-tree to create a selective menu of objects based > on whether or not the object has an "add_to_menu" property. [...] > [rh] > Try (yes, this is tested): > > >

Re: [Zope] Fun with Trees

2000-07-03 Thread Rik Hoekstra
Charlie Wilkinson writes: After RTFMing and flailing at DTML all night, I'm about stumped. No pun intended. I'm trying to use dtml-tree to create a selective menu of objects based on whether or not the object has an "add_to_menu" property. I've pretty much figured out that I need a wrapper a

Re: [Zope] Fun with Trees

2000-07-02 Thread Dieter Maurer
Charlie Wilkinson writes: > I'm trying to use dtml-tree to create a selective menu of objects based > on whether or not the object has an "add_to_menu" property. I've pretty > much figured out that I need a wrapper around objectValues that will > filter out the objects that don't have the "ad

[Zope] Fun with Trees

2000-07-02 Thread Charlie Wilkinson
(I always wanted to be a lumberjack! :) After RTFMing and flailing at DTML all night, I'm about stumped. No pun intended. I'm trying to use dtml-tree to create a selective menu of objects based on whether or not the object has an "add_to_menu" property. I've pretty much figured out that I need