[Zope3-checkins] CVS: Zope3/src/zope/app/workflow - configure.zcml:1.1.2.1
Steve Alexander
steve@cat-box.net
Wed, 14 May 2003 13:44:13 -0400
Update of /cvs-repository/Zope3/src/zope/app/workflow
In directory cvs.zope.org:/tmp/cvs-serv32636/src/zope/app/workflow
Modified Files:
Tag: stevea-decorators-branch
configure.zcml
Log Message:
Decorators are now really roughly integrated into zope on this branch.
Still to do:
* The decorator registry needs an interface and some tests.
* The decorator registry should be using a type registry rather than
a simple dict, so that you don't need to keep declaring decorators
for all the different subtypes of a container that doesn't manage
its own context.
* Fix various tests that explicitly use ZopeContainerAdapter.
* Document use of decorators in Zope 3.
* Get this work reviewed and discussed.
The first three points should be complete by the end of tomorrow.
=== Zope3/src/zope/app/workflow/configure.zcml 1.1 => 1.1.2.1 ===
--- Zope3/src/zope/app/workflow/configure.zcml:1.1 Thu May 8 13:27:18 2003
+++ Zope3/src/zope/app/workflow/configure.zcml Wed May 14 13:44:12 2003
@@ -105,6 +105,7 @@
permission="zope.workflow.ManageProcessDefinitions"
interface="zope.app.interfaces.container.IWriteContainer"
/>
+ <decorate decorator="zope.app.container.contextdecorator" type="context" />
</content>
<adapter factory="zope.app.workflow.instance.ProcessInstanceContainerAdapter"