[Zope] calling script when adding/removal transient object

Chris McDonough chrism@zope.com
12 Feb 2003 15:35:44 -0500


I believe the script needs to take parameters.  See
http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/Sessions.stx  for more information.

On Wed, 2003-02-12 at 10:36, John Doe wrote:
> Hello,
> 
> In the transient object container the following option
> can be specified: 'Script to call when objects are
> added'. 
> The script to be called is located in the root
> directory of the zope server. This script contains no
> errors, takes no arguments and sends an email
> messages.
> I've tried specifying this script by acquisition (ie
> session_script) and by absolute reference (ie
> /session_script), but neither option works when a new
> object is added to this t.o.-container. 
> 
> Does anyone have a solution ?
> 
> Thx,
> Ronny
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Shopping - Send Flowers for Valentine's Day
> http://shopping.yahoo.com
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )