[Zope-dev] TTW Product not showing up.

Steve Spicklemire steve@spvi.com
Wed, 15 Nov 2000 19:44:22 -0500 (EST)


Hi Jimbo,

   DataSkin and CatalogAware are incompatable. You can
however use SkinScript to emulate CatalogAwareness....
here is a snippet I use on one site.... 

WHEN OBJECT ADDED CALL Catalog.catalog_object(self, _.string.join(self.getPhysicalPath(),'/'))

WHEN OBJECT DELETED CALL Catalog.uncatalog_object(_.string.join(self.getPhysicalPath(),'/'))

WHEN OBJECT CHANGED CALL Catalog.uncatalog_object(_.string.join(self.getPhysicalPath(),'/')), Catalog.catalog_object(self, _.string.join(self.getPhysicalPath(),'/'))

This seems to be working OK for us....

take care,
-steve

>>>>> "jimbo" == jimbo  <jimbo@tacomaplace.com> writes:

    jimbo> In my ZClass I selected CatalogAware and dataskin as base.
    jimbo> I'm not sure what else I'm suppose to do.

    jimbo> SystemError: Failed to import class
    jimbo> _ZClass_for_CatalogAware from module Product s.ZCatalog

    jimbo> -Jimbo

    jimbo> _______________________________________________ Zope-Dev
    jimbo> maillist - Zope-Dev@zope.org
    jimbo> http://lists.zope.org/mailman/listinfo/zope-dev ** No cross
    jimbo> posts or HTML encoding!  ** (Related lists -
    jimbo> http://lists.zope.org/mailman/listinfo/zope-announce
    jimbo> http://lists.zope.org/mailman/listinfo/zope )