7 Apr
2003
7 Apr
'03
8:01 a.m.
Pino Silvestre wrote:
Hello everyone, is there any method (usable from script) to understand if a document is locked by a version or if a version is opened? I tried locked_in_version but it returns always true (it does not worry if the object is locked or not).
Thanks to all, Pino
Please take a look at the zope source, under lib/python/OFS/dtml/main.dtml, this is the dtml file for the managment method of folders, which does what you want to do. HTH, oliver