[Zope] Undo Again
Chris McDonough
chrism@zope.com
Wed, 15 Aug 2001 08:16:17 -0400
Try (untested):
t=get_transaction()
t.begin()
self.manage_addFolder(id=objID,title=objTitle)
ob = getattr(self, id)
t.note(string.join(ob.getPhysicalPath(), '/'))
t.commit()
The look in the undo list....
HTH,
- C
Chris Withers wrote:
>
> Phil Harris wrote:
> >
> > My question is, how would I get it to show in the 'local' undo list of the
> > parent folder.
>
> Yeah, that would be cool :-)
>
> I guess this is just a pathetic "me too!" mail, though...
>
> Chris
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
--
Chris McDonough Zope Corporation
http://www.zope.org http://www.zope.com
""" Killing hundreds of birds with thousands of stones """