[Zope] Self-deletion of a Zclass instance
Dieter Maurer
dieter@handshake.de
Sat, 4 Aug 2001 03:18:07 +0200 (CEST)
Carlson, Christopher W. writes:
> How can I set up a self-destruct method in a Zclass?
>
> I'm putting together a calendar of events that is editable by certain
> individuals, and it needs to handle the removal of events from the list. I
> currently have some code in a DTML document that handles the deletion, but
> I'd much rather simply allow a calendar entry to have a 'delete' method that
> does the appropriate stuff. Is this possible?
Zope objects are not active in itself.
They need to be activated from outside.
But you can have a look at Xron. It allows you to schedule
periodical actions, e.g. to call your DTML document...
Dieter