[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/form/browser/metadirectives.py The presentation service is gone.

Stephan Richter srichter at cosmos.phy.tufts.edu
Fri Sep 17 12:16:12 EDT 2004


Log message for revision 27587:
  
  The presentation service is gone.
  
  Use new LayerField to specify the layer.
  
  


Changed:
  U   Zope3/trunk/src/zope/app/form/browser/metadirectives.py


-=-
Modified: Zope3/trunk/src/zope/app/form/browser/metadirectives.py
===================================================================
--- Zope3/trunk/src/zope/app/form/browser/metadirectives.py	2004-09-17 16:16:09 UTC (rev 27586)
+++ Zope3/trunk/src/zope/app/form/browser/metadirectives.py	2004-09-17 16:16:12 UTC (rev 27587)
@@ -22,6 +22,7 @@
      Bool, PythonIdentifier, MessageID
 from zope.schema import Text, TextLine, Id
 from zope.app.security.fields import Permission
+from zope.app.component.fields import LayerField
 
 class ICommonInformation(Interface):
     """
@@ -60,7 +61,7 @@
         required=True
         )
 
-    layer = TextLine(
+    layer = LayerField(
         title=u"Layer",
         description=u"The later the view is in. Default: 'default'",
         required=False



More information about the Zope3-Checkins mailing list