[Zope3-checkins] CVS: Zope3/src/zope/app/browser/workflow/stateful - configure.zcml:1.2

Marius Gedminas mgedmin@codeworks.lt
Mon, 23 Jun 2003 12:41:51 -0400


Update of /cvs-repository/Zope3/src/zope/app/browser/workflow/stateful
In directory cvs.zope.org:/tmp/cvs-serv8639/src/zope/app/browser/workflow/stateful

Modified Files:
	configure.zcml 
Log Message:
Do not accept optional fields as positional arguments in add forms (otherwise
you'll get an exception when the user submits the form without filling them
in).


=== Zope3/src/zope/app/browser/workflow/stateful/configure.zcml 1.1 => 1.2 ===
--- Zope3/src/zope/app/browser/workflow/stateful/configure.zcml:1.1	Thu May  8 13:27:17 2003
+++ Zope3/src/zope/app/browser/workflow/stateful/configure.zcml	Mon Jun 23 12:41:50 2003
@@ -124,7 +124,8 @@
   schema="zope.app.interfaces.workflow.stateful.ITransition"
   permission="zope.workflow.ManageProcessDefinitions"
   content_factory="zope.app.workflow.stateful.definition.Transition"
-  arguments="sourceState destinationState condition script permission triggerMode"
+  arguments="sourceState destinationState"
+  keyword_arguments="condition script permission triggerMode"
   fields="sourceState destinationState condition script permission triggerMode"
   />