Re: [Zope] Help save my sanity (DTML-in string comparison)

2000-12-19 Thread Martijn Pieters
On Tue, Dec 19, 2000 at 09:57:31PM +0100, Dieter Maurer wrote: > Darin Lee writes: > > ... comparisons involving "id" do not work ... > "id" is particularly difficult in DTML. > > For some objects, "id" is an attribute (a string), > for others, it is a method. > > Due to Zope's acquisition magi

Re: [Zope] Help save my sanity (DTML-in string comparison)

2000-12-19 Thread Dieter Maurer
Darin Lee writes: > ... comparisons involving "id" do not work ... "id" is particularly difficult in DTML. For some objects, "id" is an attribute (a string), for others, it is a method. Due to Zope's acquisition magic, it is difficult to compare method's to one another: the "same" method compar

Re: [Zope] Help save my sanity (DTML-in string comparison)

2000-12-18 Thread Michael Bernstein
Darin Lee wrote: > > Zopistas, > > I am trying to build a simple, 2 tier, tree-style navigation structure for my site. >I have puzzled over the following code for hours, and it's just not working right. I >have two loops, one that goes through the Parents, and when the parent matches the >cur