DTML code to get owner of object?
No luck finding this in the docs. With what DTML function can you find the owner of an object? Davis
Davis Marques writes:
No luck finding this in the docs. With what DTML function can you find the owner of an object? The ("AccessControl.Owned.Owned") method "getOwner" returns the objects owner.
However, this method is private. You can not call it from DTML directly and need an External Method or method in a product to call it. Dieter
On Fri, 2002-07-05 at 22:40, Dieter Maurer wrote:
Davis Marques writes:
No luck finding this in the docs. With what DTML function can you find the owner of an object? The ("AccessControl.Owned.Owned") method "getOwner" returns the objects owner.
However, this method is private. You can not call it from DTML directly and need an External Method or method in a product to call it.
hi, this one works for me with Proxy==Manager: <dtml-var "this().owner_info()['id']"> greetings, maik -- Maik Jablonski __o www.zfl.uni-bielefeld.de _ \<_ Deutsche Zope User Group Bielefeld, Germany (_)/(_) www.dzug.org
participants (3)
-
Davis Marques -
Dieter Maurer -
Maik Jablonski