[Zope] Need ZCatalog help

Michel Pelletier michel@digicool.com
Mon, 13 Sep 1999 10:24:42 -0400


> -----Original Message-----
> From: Martijn Pieters [mailto:mj@antraciet.nl]
> Sent: Monday, September 13, 1999 3:57 AM
> To: John Goerzen
> Cc: zope@zope.org
> Subject: Re: [Zope] Need ZCatalog help
> 
> 
> At 01:40 13/09/99 , John Goerzen wrote:
> >Martijn Pieters <mj@antraciet.nl> writes:
> >
> > > If it is the first item, it'll catalog itself by default 
> in the catalog
> > > named, surprisingly, 'Catalog'. This default can be 
> changed by calling
> > > setting default_catalog on the object, or calling
> > > 'manage_editCatalogerForm' on the object for a visual 
> interface (in a 
> > browser).
> >
> >I can't seem to make this work.  Is this supposed to be called under
> >the Products area?  In the PropertySheets area?  For each individual
> >object?  If the last, how can I set the default for all the objects?
> >Can you give me a sample URL to use?
> 
> This is an instance variable so you need to call it on an individual 
> object. To set a default for all objects, you can set 
> default_catalog on a 
> newly created instance with the DTML method that creates an instance.
 
This interface will improve.  There needs to be some standard cataloging
infrastructure so that objects can catalog themselves easily.

-Michel