[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/ZopePublication/VFS - Publication.py:1.4

Stephan Richter srichter@cbu.edu
Mon, 23 Dec 2002 03:16:10 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/App/ZopePublication/VFS
In directory cvs.zope.org:/tmp/cvs-serv26132/Zope/App/ZopePublication/VFS

Modified Files:
	Publication.py 
Log Message:
Implemented VFS views for the Local Service Manager. You can now traverse
into it up to Packages. 

Since Jim did not tell me what he wanted to do in a Package, I did not 
add much there, so that all Services are shown as directories now. The 
only binding I implemented was for the ZPTTemplate, which works fine so
that you can add ZPTs via VFS now. I could imagine doing the same for 
Module, but other than that Package is rather boring from a VFS point of
view.

Of course we could do some "magic" and display a text (file content) 
representation of the various services, but I do not know how useful this 
would be.


=== Zope3/lib/python/Zope/App/ZopePublication/VFS/Publication.py 1.3 => 1.4 ===
--- Zope3/lib/python/Zope/App/ZopePublication/VFS/Publication.py:1.3	Sat Jun 29 11:41:42 2002
+++ Zope3/lib/python/Zope/App/ZopePublication/VFS/Publication.py	Mon Dec 23 03:15:39 2002
@@ -30,6 +30,7 @@
     def callObject(self, request, ob):
 
         view = queryView(ob, 'vfs', request, self) 
+        #view = ob
 
         if view is not self:
             method = getattr(view, request.method)