[Zope-dev] ZCatalog reindex_object

2000-12-31 Thread Chris Withers
Michael Bernstein wrote: reindex_object - should be called when an object is edited Hmmm... didn't see this method listed in the interfaces wiki. Where did you find it? I just inserted a call to catalog_object which did the job but I wonder what the difference between index_object abd

Re: [Zope-dev] ZCatalog reindex_object

2000-12-31 Thread Steve Alexander
Chris Withers wrote: Michael Bernstein wrote: reindex_object - should be called when an object is edited Hmmm... didn't see this method listed in the interfaces wiki. Where did you find it? reindex_object is a method of the mix-in class CatalogAwareness.

Re: [Zope-dev] ZCatalog reindex_object

2000-12-31 Thread Chris Withers
Steve Alexander wrote: reindex_object is a method of the mix-in class CatalogAwareness. Ah, that's okay then, since Squishdot doesn't have anything to do with CatalogAwareness. I think calling index_object should work, as a well-implemented catalog will do the right thing. However, calling

[Zope-dev] Re: [squishdot] ZCatalog reindex_object

2000-12-31 Thread Michael Bernstein
Chris Withers wrote: Michael Bernstein wrote: reindex_object - should be called when an object is edited Hmmm... didn't see this method listed in the interfaces wiki. Where did you find it? I found it in the 'Creating a CatalogAware ZClass' HowTo:

[Zope-dev] UNEXPECTED: Acquisition.Explicit may acquire implicitly

2000-12-31 Thread Dieter Maurer
While trying to understand, what the "bself= self.aq_explicit" in "OFS.DTMLMethod.__call__" should do, I detected an unexpected behaviour: usually, this "bself" acquires implicitly from its container (though not from its context) More precisely: if "bself.aq_self" is itself an