[Zope3-checkins] SVN: Zope3/branches/roger-contentprovider/src/zope/portlet/ dummy steps...

Helmut Merz helmutm at cy55.de
Sat Oct 8 05:23:41 EDT 2005


Log message for revision 38925:
  dummy steps...

Changed:
  U   Zope3/branches/roger-contentprovider/src/zope/portlet/README.txt
  U   Zope3/branches/roger-contentprovider/src/zope/portlet/portlet.py

-=-
Modified: Zope3/branches/roger-contentprovider/src/zope/portlet/README.txt
===================================================================
--- Zope3/branches/roger-contentprovider/src/zope/portlet/README.txt	2005-10-08 09:20:14 UTC (rev 38924)
+++ Zope3/branches/roger-contentprovider/src/zope/portlet/README.txt	2005-10-08 09:23:40 UTC (rev 38925)
@@ -4,6 +4,8 @@
 
 Portlets...
 
+  >>> from zope.portlet.interfaces import IPortlet
+  
 
 Getting Started
 ---------------
@@ -30,7 +32,9 @@
 Portlet Managers
 ~~~~~~~~~~~~~~~~
 
+  >>> from zope.portlet.portlet import DefaultPortletManager
 
+      
 Cleanup
 -------
 

Modified: Zope3/branches/roger-contentprovider/src/zope/portlet/portlet.py
===================================================================
--- Zope3/branches/roger-contentprovider/src/zope/portlet/portlet.py	2005-10-08 09:20:14 UTC (rev 38924)
+++ Zope3/branches/roger-contentprovider/src/zope/portlet/portlet.py	2005-10-08 09:23:40 UTC (rev 38925)
@@ -17,9 +17,14 @@
 """
 __docformat__ = 'restructuredtext'
 
-from zope.viewlet.viewlet import ViewletManager
+import zope.interface
+#from zope.viewlet.viewlet import ViewletManager
+from zope.portlet.interfaces import IPortletManager
 
 
-class PortletManager(ViewletManager):
-    """Portlet manager."""
+#class DefaultPortletManager(ViewletManager):
+class DefaultPortletManager(object):
+    """Default portlet manager."""
 
+    zope.interface.implements(IPortletManager)
+



More information about the Zope3-Checkins mailing list