Finding published object in Zope app (how zope performs routing?)

122 views Asked by At

I could view page http://localhost:8080/zport/dmd/networkMap in my browser, but when I want to see object which is published on that page using app.unrestrictedTraverse, i get following error:

>>> app.unrestrictedTraverse('zport/dmd/networkMap')
Traceback (most recent call last):
  File "<input>", line 1, in <module>
  File "/opt/zenoss/lib/python/OFS/Traversable.py", line 299, in unrestrictedTraverse
    raise e
KeyError: 'networkMap'

So, I wander, if there are no such attribute as networkMap on dmd object, how does Zope know what to render on that page? Are there some other ways to map URLs into code that renders pages?

0

There are 0 answers