[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Content/ZPTPage - zptpage.zcml:1.1.2.7.2.5

Steve Alexander steve@cat-box.net
Tue, 4 Jun 2002 06:11:40 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Content/ZPTPage
In directory cvs.zope.org:/tmp/cvs-serv14594/lib/python/Zope/App/OFS/Content/ZPTPage

Modified Files:
      Tag: Zope3InWonderland-branch
	zptpage.zcml 
Log Message:
more corrections to new zcml.
some bugs in new directives fixed.
stub for "permission" in service declaration, awaiting Jim's checkins.
Zope starts!



=== Zope3/lib/python/Zope/App/OFS/Content/ZPTPage/zptpage.zcml 1.1.2.7.2.4 => 1.1.2.7.2.5 ===
 >
 
-  <zmi:factoryFromClass
-      name="ZPTPage"
-      class=".ZPTPage."
-      permission="Zope.ManageContent"
-      title="ZPT Page"
-      description="A simple, content-based Page Template" />
-
   <content class=".ZPTPage.">
+    <zmi:factory
+        id="ZPTPage"
+        permission="Zope.ManageContent"
+        title="ZPT Page"
+        description="A simple, content-based Page Template" />
     <security:require permission="Zope.View"
                       attributes="content_type __call__" />