[Zope3-checkins]
SVN: Zope3/trunk/src/zope/app/workflow/stateful/browser/contentworkflow.py
- accept a list of interfaces while adding new mappings
Eckart Hertzler
eckart at hertzler.de
Fri May 14 11:00:08 EDT 2004
Log message for revision 24654:
- accept a list of interfaces while adding new mappings
-=-
Modified: Zope3/trunk/src/zope/app/workflow/stateful/browser/contentworkflow.py
===================================================================
--- Zope3/trunk/src/zope/app/workflow/stateful/browser/contentworkflow.py 2004-05-14 14:59:55 UTC (rev 24653)
+++ Zope3/trunk/src/zope/app/workflow/stateful/browser/contentworkflow.py 2004-05-14 15:00:06 UTC (rev 24654)
@@ -85,7 +85,9 @@
status = ''
if 'ADD' in self.request:
for name in self.name_widget.getInputValue():
- self.context.register(self.iface_widget.getInputValue(), name)
+ for iface in self.iface_widget.getInputValue():
+ self.context.register(iface,
+ name)
status = _('Mapping(s) added.')
elif 'REMOVE' in self.request:
mappings = self.request.get('mappings', [])
More information about the Zope3-Checkins
mailing list