[change state form] set domid to avoid data conflict with other (eg edition) form
--- a/web/views/workflow.py Fri Nov 05 18:48:06 2010 +0100
+++ b/web/views/workflow.py Fri Nov 05 18:48:07 2010 +0100
@@ -80,7 +80,9 @@
# IWorkflowable views #########################################################
class ChangeStateForm(forms.CompositeEntityForm):
- __regid__ = 'changestate'
+ # set dom id to ensure there is no conflict with edition form (see
+ # session_key() implementation)
+ __regid__ = domid = 'changestate'
form_renderer_id = 'base' # don't want EntityFormRenderer
form_buttons = [fwdgs.SubmitButton(),