[Zope3-checkins] SVN: Zope3/branches/roger-contentprovider/src/zope/portlet/ Comment the configuration until broken code works.

Stephan Richter srichter at cosmos.phy.tufts.edu
Sat Oct 15 07:12:30 EDT 2005


Log message for revision 39464:
  Comment the configuration until broken code works.
  

Changed:
  U   Zope3/branches/roger-contentprovider/src/zope/portlet/configure.zcml
  U   Zope3/branches/roger-contentprovider/src/zope/portlet/meta.zcml
  U   Zope3/branches/roger-contentprovider/src/zope/portlet/metaconfigure.py
  U   Zope3/branches/roger-contentprovider/src/zope/portlet/portlet.py

-=-
Modified: Zope3/branches/roger-contentprovider/src/zope/portlet/configure.zcml
===================================================================
--- Zope3/branches/roger-contentprovider/src/zope/portlet/configure.zcml	2005-10-15 11:12:06 UTC (rev 39463)
+++ Zope3/branches/roger-contentprovider/src/zope/portlet/configure.zcml	2005-10-15 11:12:29 UTC (rev 39464)
@@ -3,6 +3,7 @@
     i18n_domain="tiks">
 
   <!-- ++view++ namespace is used as a hook for IControllable objects -->
+<!-- 
   <view
       name="portlet"
       type="*"
@@ -29,4 +30,6 @@
 
   <include package=".browser" />
 
+-->
+
 </configure>
\ No newline at end of file

Modified: Zope3/branches/roger-contentprovider/src/zope/portlet/meta.zcml
===================================================================
--- Zope3/branches/roger-contentprovider/src/zope/portlet/meta.zcml	2005-10-15 11:12:06 UTC (rev 39463)
+++ Zope3/branches/roger-contentprovider/src/zope/portlet/meta.zcml	2005-10-15 11:12:29 UTC (rev 39464)
@@ -1,6 +1,7 @@
 <configure
     xmlns:meta="http://namespaces.zope.org/meta">
 
+<!--
   <meta:directives namespace="http://namespaces.zope.org/browser">
 
     <meta:directive
@@ -16,5 +17,6 @@
         />
 
   </meta:directives>
+-->
 
 </configure>

Modified: Zope3/branches/roger-contentprovider/src/zope/portlet/metaconfigure.py
===================================================================
--- Zope3/branches/roger-contentprovider/src/zope/portlet/metaconfigure.py	2005-10-15 11:12:06 UTC (rev 39463)
+++ Zope3/branches/roger-contentprovider/src/zope/portlet/metaconfigure.py	2005-10-15 11:12:29 UTC (rev 39464)
@@ -37,7 +37,7 @@
 
 def portletManagerDirective(_context, name, permission, portletType,
                      for_=Interface, layer=IDefaultBrowserLayer,
-                     class_=None, template=None, boxTemplate=None
+                     class_=None, template=None, boxTemplate=None,
                      allowed_interface=None, allowed_attributes=None):
 
     required = {}

Modified: Zope3/branches/roger-contentprovider/src/zope/portlet/portlet.py
===================================================================
--- Zope3/branches/roger-contentprovider/src/zope/portlet/portlet.py	2005-10-15 11:12:06 UTC (rev 39463)
+++ Zope3/branches/roger-contentprovider/src/zope/portlet/portlet.py	2005-10-15 11:12:29 UTC (rev 39464)
@@ -19,9 +19,8 @@
 
 import sys
 import zope.interface
-from zope.viewlet.viewlet import ViewletPageTemplateFile
 from zope.viewlet.viewlet import SimpleAttributeViewlet
-from zope.viewlet.viewlet import SimpleViewlet
+from zope.viewlet.viewlet import ViewletBase
 from zope.portlet import interfaces
 
 from zope.app.pagetemplate.simpleviewclass import simple
@@ -34,7 +33,7 @@
     zope.interface.implements(interfaces.IPortletManager)
 
 
-class SimplePortlet(SimpleViewlet):
+class SimplePortlet(ViewletBase):
     """Portlet adapter class used in meta directive as a mixin class."""
 
     zope.interface.implements(interfaces.IPortlet)



More information about the Zope3-Checkins mailing list