[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/ApplicationControl/ServerControl - server-control-meta.zcml:1.1.2.1.8.1 server-control.zcml:1.1.2.3.2.1

Jim Fulton jim@zope.com
Sun, 2 Jun 2002 10:35:06 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/ApplicationControl/ServerControl
In directory cvs.zope.org:/tmp/cvs-serv29793/lib/python/Zope/App/OFS/ApplicationControl/ServerControl

Modified Files:
      Tag: Zope3InWonderland-branch
	server-control-meta.zcml server-control.zcml 
Log Message:
- Added template attribute to allow views to be created from a
  template source file.

- Added beginnings of a Zope debugger. This required seperating site
  and server configuration.

- Added the ability to specify a config file package in the
  zopeConfigure directive. Made "config.zcml" a default for the file
  attribute in the include directive.

- Fixed mapply to unwrap proxied objects. This was necessary once
  views became wrapped in proxies. We need to investigate why they
  weren't being wrapped before. 

- I updated enough system page templates and zcml directives so that:

  - Zope now starts. :)

  - The root folder contents listing can be viewed.

  Many more templates and zcml files need to be updated to reflect the
  way views are now handled.



=== Zope3/lib/python/Zope/App/OFS/ApplicationControl/ServerControl/server-control-meta.zcml 1.1.2.1 => 1.1.2.1.8.1 ===
 
-  <!-- Zope.App.OFS.ApplicationControl -->
   <directives namespace="http://namespaces.zope.org/server-control">
     <directive name="registerShutdownHook"
                attributes="call, priority, name"
-               handler="Zope.App.OFS.ApplicationControl.ServerControl.metaConfigure.registerShutdownHook" />
+               handler=".metaConfigure.registerShutdownHook" />
   </directives>
 
 </zopeConfigure>


=== Zope3/lib/python/Zope/App/OFS/ApplicationControl/ServerControl/server-control.zcml 1.1.2.3 => 1.1.2.3.2.1 ===
                        interface=".IServerControl." />
 
-<utility component=".ServerControl.ServerController" provides=".IServerControl." />
+<utility component=".ServerControl.ServerController"
+         provides=".IServerControl." />
 
 <!-- Hint: Here you see how to register something on Zope shutdown -->
-<server-control:registerShutdownHook name="Shutdown logger" priority="0" call=".ServerControl.shutdownLogger" />
+<server-control:registerShutdownHook
+     name="Shutdown logger"
+     priority="0"
+     call=".ServerControl.shutdownLogger"
+     />
 
 <include package=".Views" file="views.zcml" />
+
 </zopeConfigure>