[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Content/Folder/Views/Browser - browser.zcml:1.1.4.2.2.4 contents.pt:1.1.4.1.6.4 loaded_folder_contents.pt:1.1.4.1.6.3

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


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

Modified Files:
      Tag: Zope3InWonderland-branch
	browser.zcml contents.pt loaded_folder_contents.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/Folder/Views/Browser/browser.zcml 1.1.4.2.2.3 => 1.1.4.2.2.4 ===
       factory=".FolderLimitEdit.">
 
-    <browser:page name="FolderLimitEditForm"
+    <browser:page name="FolderLimitEditForm.html"
                   attribute="index"
                   />
     <browser:page name="SetFolderLimit.html"


=== Zope3/lib/python/Zope/App/OFS/Content/Folder/Views/Browser/contents.pt 1.1.4.1.6.3 => 1.1.4.1.6.4 ===
 <div metal:fill-slot="body">
 
-<form action="view::index.html" method="get">
+<form action="./view::index.html" method="get">
   <table class="ContentListing">
   
     <caption>Folder Contents
-             <a href="../view::addForm.html"> Add... </a> </caption>
+             <a href="./view::addForm.html"> Add... </a> </caption>
   
     <tbody>
   
@@ -84,7 +84,7 @@
 
 <p><a href="./etc::Services/"
       tal:condition="context/hasServiceManager">Services</a>
-<a href="view::addServiceManager.html" 
+<a href="./view::addServiceManager.html" 
    tal:condition="not: context/hasServiceManager">Allow Services</a>
 </p>
 </div>


=== Zope3/lib/python/Zope/App/OFS/Content/Folder/Views/Browser/loaded_folder_contents.pt 1.1.4.1.6.2 => 1.1.4.1.6.3 ===
 <div metal:fill-slot="body">
 
-<form action="::index.html" method="post">
+<form action="./view::index.html" method="post">
   <table class="ContentListing">
   
     <caption>Folder Contents 
-             <a href="../view::addForm.html"> Add... </a> </caption>
+             <a href="./view::addForm.html"> Add... </a> </caption>
   
     <tbody>