[EMAIL PROTECTED] wrote at 2005-7-28 13:24 +0200:
>if I use
>root = context.getPhysicalRoot()
>I am forced to reenter my Zope username and password and will not get
>to call the getPhysicalRoot function.
>What am I doing wrong?
For unknown reasons, "getPhysicalRoot" is private.
The standard workaround looks like this:
root = container.restrictedTraverse('/')
Of course, it is stupid to make "getPhysicalRoot" private
when it is so easy to access the root anyway...
Zope maillist - Zope@zope.org
** No cross posts or HTML encoding! **
(Related lists -