3 Jul
2001
3 Jul
'01
9:38 p.m.
Leigh Ann Hildebrand wrote:
[snip]
Well, err, actually, for reasons I'm not entirely sure I could explain, those methods don't work in this case. I worked with a number of the fine gentlemen on #zope about the problem, and we discovered together that nothing short of the full _['id'] would work.
Leigh Ann
That is because id is sometimes a method and sometimes just a value. _['id'] will call a method and return it or just return a value, that is why it worked. All objects now support a getId() method, that returns the id of an object. That dispenses with the _[] notation. -- | Casey Duncan | Kaivo, Inc. | cduncan@kaivo.com `------------------>