[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/Undo - undo.zcml:1.1.2.3.2.4 undo_log.pt:1.1.2.4.14.1

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


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

Modified Files:
      Tag: Zope3InWonderland-branch
	undo.zcml undo_log.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/Undo/undo.zcml 1.1.2.3.2.3 => 1.1.2.3.2.4 ===
 >
 
-<content class="Zope.App.Undo.">
-  <security:require
+<browser:view
     permission="Zope.ManageContent"
-    attributes="index action getUndoInfo" />
-</content>
+    factory="Zope.App.Undo." >
 
-<browser:view name="undo"
-    factory="Zope.App.Undo." />
+   <browser:page name="undoForm.html" attribute="index" />
+   <browser:page name="undo.html" attribute="action" />
+</browser:view>
 
 </zopeConfigure>


=== Zope3/lib/python/Zope/App/Undo/undo_log.pt 1.1.2.4 => 1.1.2.4.14.1 ===
 <div metal:fill-slot="body">
 
-<form action="action" method="post">
+<form action="./view::undo.html" method="post">
 
 <p class="form-help">
 This application's transactional feature allows you to easily undo changes