[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Container/Views/Browser - add.pt:1.1.2.2.14.2 main.pt:1.1.2.3.14.2

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


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

Modified Files:
      Tag: Zope3InWonderland-branch
	add.pt main.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/Container/Views/Browser/add.pt 1.1.2.2.14.1 => 1.1.2.2.14.2 ===
 <div metal:fill-slot="body">
 
-<form action="add.html" method="POST">
+<form action="./view::add.html" method="POST">
 <table class="TypeListing">
 
   <caption>Add Content To Folder</caption>


=== Zope3/lib/python/Zope/App/OFS/Container/Views/Browser/main.pt 1.1.2.3.14.1 => 1.1.2.3.14.2 ===
 <div metal:fill-slot="body">
 
-<form action="" method="get">
+<form action="./view::index.html" method="get">
   <table class="ContentListing">
   
-    <caption>Folder Contents <a href="../view::adder"> Add... </a> </caption>
+    <caption>Folder Contents <a href="./view::addForm.html"> Add... </a> </caption>
   
     <tbody>