[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/Publisher/VFS - __init__.py:1.2 meta.zcml:1.2 metaConfigure.py:1.2
Jim Fulton
jim@zope.com
Tue, 19 Nov 2002 18:25:44 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/Publisher/VFS
In directory cvs.zope.org:/tmp/cvs-serv11465/lib/python/Zope/App/Publisher/VFS
Added Files:
__init__.py meta.zcml metaConfigure.py
Log Message:
Two changes that were far reaching and interdependent.
- Changed existing directives that mention interfaces to register
those interfaces with the global interface service.
- Moved all configuration support (except that in Zope.Configuration)
into Zope.App. This was necessary to get the order of execution such
that the interface service was defined before directives that used
interfaces were used. This is a change that has been needed for
some time.
=== Zope3/lib/python/Zope/App/Publisher/VFS/__init__.py 1.1 => 1.2 ===
--- /dev/null Tue Nov 19 18:25:44 2002
+++ Zope3/lib/python/Zope/App/Publisher/VFS/__init__.py Tue Nov 19 18:25:13 2002
@@ -0,0 +1,13 @@
+##############################################################################
+#
+# Copyright (c) 2002 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
=== Zope3/lib/python/Zope/App/Publisher/VFS/meta.zcml 1.1 => 1.2 ===
--- /dev/null Tue Nov 19 18:25:44 2002
+++ Zope3/lib/python/Zope/App/Publisher/VFS/meta.zcml Tue Nov 19 18:25:13 2002
@@ -0,0 +1,8 @@
+<zopeConfigure xmlns="http://namespaces.zope.org/zope">
+
+ <directives namespace="http://namespaces.zope.org/vfs">
+ <directive name="view" attributes="factory name for"
+ handler=".metaConfigure.view" />
+ </directives>
+
+</zopeConfigure>
=== Zope3/lib/python/Zope/App/Publisher/VFS/metaConfigure.py 1.1 => 1.2 ===
--- /dev/null Tue Nov 19 18:25:44 2002
+++ Zope3/lib/python/Zope/App/Publisher/VFS/metaConfigure.py Tue Nov 19 18:25:13 2002
@@ -0,0 +1,23 @@
+##############################################################################
+#
+# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""
+
+$Id$
+"""
+from Zope.App.ComponentArchitecture.metaConfigure import view as _view
+
+def view(_context, **__kw):
+ return _view(_context, type='Zope.Publisher.VFS.IVFSView.', **__kw)
+
+