[Zope-CMF] How to save extra data with CMF-object
Tres Seaver
tseaver@palladion.com
Mon, 16 Jul 2001 11:01:12 -0400 (EDT)
On Fri, 13 Jul 2001, Ausum wrote:
> Please let me ask this way:
> Would the added custom properties be catalogaware?
They would be "catalogable"; 'CatalogAware' was a base class
which tried to assure that instances got catalogued on creation.
> If not, what should we do to turn them so?
You would need to add indexes to the catalog.
> Bill Anderson wrote:
> >
> > On 12 Jul 2001 19:53:28 -0400, marc lindahl wrote:
> > >
> > > > From: Tres Seaver <tseaver@palladion.com>
> > > >
> > > > It turns out that CMFDefault.DefaultDublinCoreImpl
> > > > derives (for unknown reasons) from PropertyManager;
> > > > therefore, virtually all content objects can have custom
> > > > properties added to them!
> > >
> > > Would that also mean they're automatically indexed in
> > > catalog too?
> >
> > No. not as far as I would guess. For soemthing to be indexed,
> > the catalog needs to know about it. If you added it to the
> > catalog, then I would hazard to say that it would participate
> > in the cataloging. I should ba able to report the veracity of
> > said guess tonight (MST).
Tres.
--
===============================================================
Tres Seaver tseaver@digicool.com
Digital Creations "Zope Dealers" http://www.zope.org