[Zope-dev] The Application object

Jeff K. Hoffman jeff.hoffman@goingv.com
Mon, 17 Jul 2000 11:54:24 -0400 (EDT)


Hello,

What is the easiest way for me to get ahold of the Application object at
run-time?

I am writing a Product that needs to access some things in the
Control_Panel, and need the app object to get there.

I know how to do it given a reference to an object in the ZODB
(getPhysicalRoot(), etc.), but need a way to do it given no references. I
need something like:

  import AppSingleton

  app = AppSingleton.Instance()
  app.Control_Panel.blah

--Jeff

---
Jeff K. Hoffman                               704.849.0731 x108
Chief Technology Officer                      mailto:jeff.hoffman@goingv.com
Going Virtual, L.L.C.                         http://www.goingv.com/