[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/zopetop/ Fixed the layer interfaces; they must inherit IBrowserRequest. This fixes

Stephan Richter srichter at cosmos.phy.tufts.edu
Sat Oct 29 04:02:08 EDT 2005


Log message for revision 39712:
  Fixed the layer interfaces; they must inherit IBrowserRequest. This fixes 
  many broken links in apidoc.
  

Changed:
  U   Zope3/trunk/src/zope/app/zopetop/__init__.py
  U   Zope3/trunk/src/zope/app/zopetop/configure.zcml

-=-
Modified: Zope3/trunk/src/zope/app/zopetop/__init__.py
===================================================================
--- Zope3/trunk/src/zope/app/zopetop/__init__.py	2005-10-29 08:01:18 UTC (rev 39711)
+++ Zope3/trunk/src/zope/app/zopetop/__init__.py	2005-10-29 08:02:08 UTC (rev 39712)
@@ -18,15 +18,16 @@
 __docformat__ = "reStructuredText"
 
 from zope.interface import Interface
+from zope.publisher.interfaces.browser import IBrowserRequest
 from zope.app.rotterdam import Rotterdam
 
-class templates(Interface):
+class templates(IBrowserRequest):
     """Layer to store all templates."""
 
-class images(Interface):
+class images(IBrowserRequest):
     """Layer to store all images."""
 
-class css(Interface):
+class css(IBrowserRequest):
     """Layer to store all stylesheets."""
 
 class ZopeTop(templates, images, css, Rotterdam):

Modified: Zope3/trunk/src/zope/app/zopetop/configure.zcml
===================================================================
--- Zope3/trunk/src/zope/app/zopetop/configure.zcml	2005-10-29 08:01:18 UTC (rev 39711)
+++ Zope3/trunk/src/zope/app/zopetop/configure.zcml	2005-10-29 08:02:08 UTC (rev 39712)
@@ -2,7 +2,7 @@
   xmlns:zope="http://namespaces.zope.org/zope"
   xmlns="http://namespaces.zope.org/browser">
 
-  <skin 
+  <skin
       name="ZopeTop"
       interface="zope.app.zopetop.ZopeTop" />
 



More information about the Zope3-Checkins mailing list