[Zope] Changing 'Catalog' name

Michel Pelletier michel@digicool.com
Thu, 30 Sep 1999 01:36:25 -0400


Joshua Brauer wrote:
> 
> I have a Zclass (planner) with an instance (plan).
> 
> Planner has a Zclass that is based on Zcatalog aware and object manager called planner_wish.
> 
> The DTML method that creates instances of planner_wish uses <dtml-call reindex_object> to (I wish) get the item into the catalog like so:
> 
> <!--#with "myclass.createInObjectManager(REQUEST['id'], REQUEST)"-->
>    <dtml-call "propertysheets.myclass.manage_editProperties(REQUEST)">
>    <dtml-call reindex_object>
> <!--#/with-->
> 
> I've defined a default_catalog for the parent Zclass, but I can't seem to get the items to catalog into any catalog except "Catalog". Is there a way to change the name of the default catalog?

No.  CatalogAware is a hack.

I will be greatly improving it's interface soon, unless someone else
wants to take a clever stab at it.

-Michel