[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Content/File - file.zcml:1.1.2.5.2.5 FileEdit.py:NONE edit.pt:NONE

Jim Fulton jim@zope.com
Wed, 5 Jun 2002 11:18:26 -0400


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

Modified Files:
      Tag: Zope3InWonderland-branch
	file.zcml 
Removed Files:
      Tag: Zope3InWonderland-branch
	FileEdit.py edit.pt 
Log Message:
Fixed up zcml and pt to reflect new way of defining views.
This changed lots of urls. Also made sure that relative urls
starting with names with :: had a preceeding "./".  :-/

Had to modify some py files to accomidate these changes, including
createing some interfaces to use in security assertions.



=== Zope3/lib/python/Zope/App/OFS/Content/File/file.zcml 1.1.2.5.2.4 => 1.1.2.5.2.5 ===
   <security:permission id="Zope.AddNaiveFiles" 
                        title="Add Naive Files" />
+
   <content class=".NaiveFile.">
     <zmi:factory
         id="NaiveFile"
@@ -49,9 +50,9 @@
 
   <zmi:tabs for=".IFile.">
     <zmi:tab label="View" action=""/>
-    <zmi:tab label="Edit" action="view::edit"/>
+    <zmi:tab label="Edit" action="editForm.html"/>
     <zmi:tab label="Role Permissions" 
-             action="view::RolePermissionsManagement"/>
+             action="AllRolePermissions.html"/>
   </zmi:tabs>
 
   <!-- Further Directives -->

=== Removed File Zope3/lib/python/Zope/App/OFS/Content/File/FileEdit.py ===

=== Removed File Zope3/lib/python/Zope/App/OFS/Content/File/edit.pt ===