[z3-five] IAnnotations in the catalog?
Tim Hicks
tim at sitefusion.co.uk
Sat Feb 25 21:21:33 CET 2006
Hi,
Just wondering if anyone has any ideas have I might catalog objects that
are stored in attribute annotations.
To be precise, I am able to have the portal_catalog on my plone site
catalog my simple Persistent-subclass, but when I try to update the
catalog, that object is lost.
I think this is because I don't have a suitable getPhysicalPath method on
my cataloged object. I tried:
def getPhysicalPath(self):
""" """
return self.context.getPhysicalPath() +
('@@MyViewWithGetItemLookup', 'myobjectid')
But this does not work.
Has anyone else had any luck with this sort of thing?
Tim
More information about the z3-five
mailing list