[Zope-CMF] UndoTool
Tres Seaver
tseaver@palladion.com
Tue, 05 Jun 2001 09:16:29 -0400
Chris Withers wrote:
> Hello :-)
>
> Is there any way I can get the Undo Tool to tell me how many undoable
> transactions there are for a given object? It's the only thing stopping me
> changing the undo_form so it uses the same fancy batching as my new versions
> of folder_contents.dtml and search.dtml.
>
> In the meantime, I'm just leaving undo_form.dtml be, it does the job and
> doesn't like being tampered with ;-)
'len( portal_undo.listUndoableTransactions( context )' doesn't do it for
you?
Tres.
--
===============================================================
Tres Seaver tseaver@digicool.com
Digital Creations "Zope Dealers" http://www.zope.org