[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/renderer/metaconfigure.py Factories are objects, not interfaces.

Shane Hathaway shane at zope.com
Thu Nov 18 18:02:50 EST 2004


Log message for revision 28475:
  Factories are objects, not interfaces.

Changed:
  U   Zope3/trunk/src/zope/app/renderer/metaconfigure.py

-=-
Modified: Zope3/trunk/src/zope/app/renderer/metaconfigure.py
===================================================================
--- Zope3/trunk/src/zope/app/renderer/metaconfigure.py	2004-11-18 18:56:54 UTC (rev 28474)
+++ Zope3/trunk/src/zope/app/renderer/metaconfigure.py	2004-11-18 23:02:49 UTC (rev 28475)
@@ -17,7 +17,7 @@
 """
 from zope.app import zapi
 from zope.app.component.metaconfigure import handler
-from zope.configuration.fields import GlobalInterface
+from zope.configuration.fields import GlobalInterface, GlobalObject
 from zope.interface import Interface
 
 class IRendererDirective(Interface):
@@ -35,7 +35,7 @@
                     u"browser) for which this view is being registered.",
         required=True)
 
-    factory = GlobalInterface(
+    factory = GlobalObject(
         title=u"Factory",
         description=u"Specifies the factory that is used to create the "
                     u"view on the source.",



More information about the Zope3-Checkins mailing list