[Zope] CatalogAware, external method manage_afterAdd
Tom Deprez
tom.deprez@uz.kuleuven.ac.be
Fri, 03 Mar 2000 19:34:13 +0100
Great idea!
However, no I get this error :
Zope has encountered an error while publishing this resource.
Error Type: NameError
Error Value: CatalogAware
Do I've to place somewhere an import of the CatalogAwareness library?
I'm afraid my knowledge of Python is to low to solve this correctly. Any
ideas?
Tom.
At 23:46 03/03/2000 +0530, Shalabh Chaturvedi wrote:
>Hi Tom,
>
>This might be because the CatalogAware class uses the manage_afterAdd hook
>itself (CatalogAwareness.py).
>
>In _your_ manage_afterAdd(self, item, container), try this (untested):
>
>def manage_afterAdd(self, item, container):
> # do whatever want to
> CatalogAware.manage_afterAdd(self, item, container)
>
>Hope this works.
>
>Shalabh
>
>