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

Stephan Richter srichter@cbu.edu
Tue, 2 Apr 2002 17:25:21 -0500


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

Modified Files:
      Tag: Zope-3x-branch
	zptpage.zcml 
Log Message:
Issue 54: Resolve

Cleaned up the ZMI namespace quiet a bit:

- Removed the deprecated provideClass directive from the Code.
- Added "class" attribute to factoryFromClass to the "zmi" and "service" 
  namespace.
- Changed existing directives to reflect this change.
- Corrected tests. 



=== Zope3/lib/python/Zope/App/OFS/Content/ZPTPage/zptpage.zcml 1.1.2.1 => 1.1.2.2 ===
                        title="Add ZPT Pages" />
 
-  <zmi:provideClass name=".ZPTPage."
-                    permission_id="Zope.AddZPTPages"
-                    title="ZPT Page"
-                    description="A simple, content-based Page Template" />
+  <zmi:factoryFromClass name="ZPTPage"
+                    	class=".ZPTPage."
+                    	permission_id="Zope.AddZPTPages"
+                    	title="ZPT Page"
+                    	description="A simple, content-based Page Template" />
 
 
   <security:protectClass name=".ZPTPage."