[Zope3-checkins] CVS: Zope3/src/zope/app/browser/container -
add.pt:1.13.8.1 configure.zcml:1.17.2.1
Christian Zagrodnick
cvs-admin at zope.org
Sat Dec 6 13:29:47 EST 2003
Update of /cvs-repository/Zope3/src/zope/app/browser/container
In directory cvs.zope.org:/tmp/cvs-serv16289/src/zope/app/browser/container
Modified Files:
Tag: gotcha-usage-branch
add.pt configure.zcml
Log Message:
finished the support of 'usage' in page templates (or better views)
- repaired editForm
- added to addForm
- added <usage name=.. /> zcml directive
- directives that rely on usage check for existing usages
- asserting that a usage can only be defined once
- tried use of usage in container/add.pt
=== Zope3/src/zope/app/browser/container/add.pt 1.13 => 1.13.8.1 ===
--- Zope3/src/zope/app/browser/container/add.pt:1.13 Tue Sep 23 21:10:35 2003
+++ Zope3/src/zope/app/browser/container/add.pt Sat Dec 6 13:29:14 2003
@@ -1,4 +1,4 @@
-<html metal:use-macro="views/standard_macros/dialog">
+<html metal:use-macro="views/standard_macros/page">
<body>
<div metal:fill-slot="body">
=== Zope3/src/zope/app/browser/container/configure.zcml 1.17 => 1.17.2.1 ===
--- Zope3/src/zope/app/browser/container/configure.zcml:1.17 Wed Dec 3 00:40:56 2003
+++ Zope3/src/zope/app/browser/container/configure.zcml Sat Dec 6 13:29:14 2003
@@ -8,7 +8,8 @@
menu="zmi_actions" title="Add"
class="zope.app.browser.container.adding.ContentAdding"
permission="zope.ManageContent"
- allowed_attributes="addingInfo">
+ allowed_attributes="addingInfo"
+ usage="addingdialog" >
<page name="index.html" template="add.pt" />
<page name="action.html" attribute="action" />
More information about the Zope3-Checkins
mailing list