[Zope3-checkins] CVS: Zope3/src/zope/app/browser/security -
configure.zcml:1.9
Garrett Smith
garrett at mojave-corp.com
Fri Mar 5 23:17:50 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/browser/security
In directory cvs.zope.org:/tmp/cvs-serv15646/src/zope/app/browser/security
Modified Files:
configure.zcml
Log Message:
Merged changes from garrett-widgets2-branch:
- Changed the way widgets are looked up to use interfaces instead of
names.
- Refactor of zope/app/form/utility.py -- see
http://dev.zope.org/Zope3/WidgetsAndMultiwayAdapters
for details.
- Moved configuration of vocab widgets to its own zcml file
(zope/app/browser/form/vocabularywidget.zcml).
- Removed 'propertyNames' and 'getValue' from widgets. This is replaced
by accessing the widget attributes directly.
- Deleted depreated methods from widget interface: haveData and getData.
=== Zope3/src/zope/app/browser/security/configure.zcml 1.8 => 1.9 ===
--- Zope3/src/zope/app/browser/security/configure.zcml:1.8 Wed Jan 14 17:55:16 2004
+++ Zope3/src/zope/app/browser/security/configure.zcml Fri Mar 5 23:17:20 2004
@@ -2,16 +2,20 @@
xmlns:zope="http://namespaces.zope.org/zope"
xmlns="http://namespaces.zope.org/browser">
- <page
+ <zope:view
for="zope.app.interfaces.security.IPermissionField"
- name="edit"
- class=".permissionwidget.SinglePermissionWidget"
- permission="zope.Public" />
+ type="zope.publisher.interfaces.browser.IBrowserRequest"
+ provides="zope.app.interfaces.form.IInputWidget"
+ factory=".permissionwidget.SinglePermissionWidget"
+ permission="zope.Public"
+ />
- <page
+ <zope:view
for="zope.app.interfaces.security.IPermissionField"
- name="display"
- class=".permissionwidget.DisplayWidget"
- permission="zope.Public" />
+ type="zope.publisher.interfaces.browser.IBrowserRequest"
+ provides="zope.app.interfaces.form.IDisplayWidget"
+ factory=".permissionwidget.DisplayWidget"
+ permission="zope.Public"
+ />
</zope:configure>
More information about the Zope3-Checkins
mailing list