Re: [Zope-dev] Quickie on ZPatterns ... I promise :)

2000-07-27 Thread Phillip J. Eby
At 09:15 AM 7/27/00 +0100, Steve Alexander wrote: >Bill Anderson wrote: >> >> Let's say I have an object I will store in a rack. Let us say I want this object to be >> cataloged in a ZCatalog. Any caveats I need to know about >> ..such as "Don't do that!" ? >> ?;^)= > >Make one of the object's ba

Re: [Zope-dev] Quickie on ZPatterns ... I promise :)

2000-07-27 Thread Bill Anderson
Itamar Shtull-Trauring wrote: > > Bill Anderson wrote: > > > > Let's say I have an object I will store in a rack. Let us say I want this object >to be > > cataloged in a ZCatalog. Any caveats I need to know about > > ..such as "Don't do that!" ? > > ?;^)= > > You can't have them inherit from Ca

Re: [Zope-dev] Quickie on ZPatterns ... I promise :)

2000-07-27 Thread Bill Anderson
Steve Alexander wrote: > > Bill Anderson wrote: > > > > Let's say I have an object I will store in a rack. Let us say I want this object >to be > > cataloged in a ZCatalog. Any caveats I need to know about > > ..such as "Don't do that!" ? > > ?;^)= > > Make one of the object's base-classes Data

Re: [Zope-dev] Quickie on ZPatterns ... I promise :)

2000-07-27 Thread Steve Alexander
Bill Anderson wrote: > > Let's say I have an object I will store in a rack. Let us say I want this object to >be > cataloged in a ZCatalog. Any caveats I need to know about > ..such as "Don't do that!" ? > ?;^)= Make one of the object's base-classes DataSkin. Don't make it CatalogAware. Use t

Re: [Zope-dev] Quickie on ZPatterns ... I promise :)

2000-07-27 Thread Itamar Shtull-Trauring
Bill Anderson wrote: > > Let's say I have an object I will store in a rack. Let us say I want this object to >be > cataloged in a ZCatalog. Any caveats I need to know about > ..such as "Don't do that!" ? > ?;^)= You can't have them inherit from CatalogAware, you'll need to use a trigger that do

[Zope-dev] Quickie on ZPatterns ... I promise :)

2000-07-27 Thread Bill Anderson
Let's say I have an object I will store in a rack. Let us say I want this object to be cataloged in a ZCatalog. Any caveats I need to know about ..such as "Don't do that!" ? ?;^)= Bill -- Do not meddle in the affairs of sysadmins, for they are easy to annoy, and have the root password. __