[Zope3-checkins] CVS: Zope3/src/zope/app/browser -
introspector.py:1.8 onlinehelp.py:1.15
Jim Fulton
jim at zope.com
Sun Sep 21 13:30:51 EDT 2003
Update of /cvs-repository/Zope3/src/zope/app/browser
In directory cvs.zope.org:/tmp/cvs-serv11983/src/zope/app/browser
Modified Files:
introspector.py onlinehelp.py
Log Message:
Changed to use zope.app.publisher.browser.BrowserView, rather than
zope.publisher.browser.BrowserView so that the views are locations.
=== Zope3/src/zope/app/browser/introspector.py 1.7 => 1.8 ===
--- Zope3/src/zope/app/browser/introspector.py:1.7 Wed Aug 6 10:41:11 2003
+++ Zope3/src/zope/app/browser/introspector.py Sun Sep 21 13:30:20 2003
@@ -15,7 +15,7 @@
$Id$
"""
-from zope.publisher.browser import BrowserView
+from zope.app.publisher.browser import BrowserView
from zope.app.interfaces.introspector import IIntrospector
from zope.component import getAdapter
from zope.app import zapi
=== Zope3/src/zope/app/browser/onlinehelp.py 1.14 => 1.15 ===
--- Zope3/src/zope/app/browser/onlinehelp.py:1.14 Sun Aug 17 02:05:23 2003
+++ Zope3/src/zope/app/browser/onlinehelp.py Sun Sep 21 13:30:20 2003
@@ -21,9 +21,8 @@
from zope.component import getService, getView
from zope.component.view import viewService
-from zope.publisher.browser import BrowserView
+from zope.app.publisher.browser import BrowserView
from zope.app.traversing import getRoot
-from zope.app.context import ContextWrapper
from zope.app.traversing import getParents, getName
class OnlineHelpTopicView(BrowserView):
@@ -32,7 +31,6 @@
def _makeSubTree(self, topic):
html = '<ul>\n'
for entry in topic.items():
- entry = ContextWrapper(entry[1], topic, name=entry[0])
html += ' <li><a href="%s">%s</a></li>\n' %(
getView(entry, 'absolute_url', self.request)(),
entry.getTitle())
More information about the Zope3-Checkins
mailing list