Re: [Zope] Get a reference to the latest transaction

2006-12-13 Thread Peter Bengtsson
ledge. Works really well now but need to test it on a larger scale. Jonathan On 12/12/06, Jonathan <[EMAIL PROTECTED]> wrote: - Original Message - From: "Peter Bengtsson" <[EMAIL PROTECTED]> To: "Zope Generic List" Sent: Tuesday, December

Re: [Zope] Get a reference to the latest transaction

2006-12-12 Thread Jonathan
- Original Message - From: "Peter Bengtsson" <[EMAIL PROTECTED]> To: "Jonathan" <[EMAIL PROTECTED]> Cc: "Zope Generic List" Sent: Tuesday, December 12, 2006 10:11 AM Subject: Re: [Zope] Get a reference to the latest transaction that doesn&#

Re: [Zope] Get a reference to the latest transaction

2006-12-12 Thread Peter Bengtsson
ngtsson" <[EMAIL PROTECTED]> To: "Zope Generic List" Sent: Tuesday, December 12, 2006 9:51 AM Subject: [Zope] Get a reference to the latest transaction > Is it possible? If so, how do I get a reference to the last/current > transaction that just happened within a metho

Re: [Zope] Get a reference to the latest transaction

2006-12-12 Thread Jonathan
- Original Message - From: "Peter Bengtsson" <[EMAIL PROTECTED]> To: "Zope Generic List" Sent: Tuesday, December 12, 2006 9:51 AM Subject: [Zope] Get a reference to the latest transaction Is it possible? If so, how do I get a reference to the last/cur

[Zope] Get a reference to the latest transaction

2006-12-12 Thread Peter Bengtsson
Is it possible? If so, how do I get a reference to the last/current transaction that just happened within a method? Pseudo code: class MyFolder(Folder): def manage_afterAdd(self): self.image_count = 0 def addImage(self, imgdata, REQUEST): self.manage_addImage('someid', f