[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Container/Views/Browser - Contents.py:1.6 main.pt:1.7
Jim Fulton
jim@zope.com
Thu, 11 Jul 2002 14:22:00 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Container/Views/Browser
In directory cvs.zope.org:/tmp/cvs-serv7355/lib/python/Zope/App/OFS/Container/Views/Browser
Modified Files:
Contents.py main.pt
Log Message:
Reimplemented service managers to be package based. Service managers
are no longer containers. They have a packages subobject (not a
packages service) that contains packages. TTW components are created
in packages. To register a component, create the appropriate component
directive objects (these should be called configuration objects).
This should be viewed as a prototype to illustrate the idea of
packages. Lots of things can change (especially UI) and many things
aren't done (e.g. visiting created directives).
In the course of this, I fixed a bunch of bugs and problems in
traversal machinery.
I also renamed Zope.ComponentArchitecture.IServiceManager back to
IServiceService, since this interface doesn't actually specify any
management.
=== Zope3/lib/python/Zope/App/OFS/Container/Views/Browser/Contents.py 1.5 => 1.6 ===
Revision information: $Id$
"""
-
-
-import os
-
from Zope.Publisher.Browser.BrowserView import BrowserView
from Zope.App.PageTemplate import ViewPageTemplateFile
from Zope.App.OFS.Container.IContainer import IContainer
=== Zope3/lib/python/Zope/App/OFS/Container/Views/Browser/main.pt 1.6 => 1.7 ===
<body>
<div metal:fill-slot="body">
-<form action="@@index.html" method="get">
+<form action="." method="get">
<table class="ContentListing">
<caption>Folder Contents <a href="+"> Add... </a> </caption>
@@ -71,7 +71,7 @@
</table>
<br />
- <input type="submit" name="removeObjects:method" value="Delete"
+ <input type="submit" name="@@removeObjects.html:method" value="Delete"
i18nXXX:attributes="value string:menu_delete_button">
</form>