[Grok-dev] Using catalog to search for objects of a certain type

jure jcerjak at termitnjak.si
Wed Sep 29 13:55:06 EDT 2010


  Hi,

is it possible in Grok to search for objects based on the interface they 
provide and their location? Something similar to plone's object_provides 
and path indices:

      return catalog(object_provides=ISession.__identifier__,
                        path='/'.join(context.getPhysicalPath()),
                         ...)


Cheers,

jure


More information about the Grok-dev mailing list