[Zope] strange getPhysicalRoot behaviour
Robert-Reinder Nederhoed
rr at nederhoed.com
Thu Jul 28 16:22:42 EDT 2005
Solved.
Thanks for the reactions. It works! My current code looks like this now:
#force function in '/root/functions'
far = context.restrictedTraverse('/').functions.far
x = foo()
print far(value=x)
> Of course, it is stupid to make "getPhysicalRoot" private
> when it is so easy to access the root anyway...
Why not just add 'root' to the script vocabulary?
Friendly greetings from an almost nightly The Hague, Robert-Reinder
--
More information about the Zope
mailing list