web/views/management.py
changeset 2144 51c84d585456
parent 2058 7ef12c03447c
parent 2052 0b9b0bdc93f5
child 2293 7ded2a1416e4
--- a/web/views/management.py	Tue Jun 23 13:31:35 2009 +0200
+++ b/web/views/management.py	Tue Jun 23 13:36:38 2009 +0200
@@ -186,7 +186,7 @@
         field = guess_field(cwpermschema, self.schema.rschema('require_group'))
         form.append_field(field)
         renderer = self.vreg.select('formrenderers', 'htable', self.req,
-                                    display_progress_div=False)
+                                    rset=None, display_progress_div=False)
         self.w(form.form_render(renderer=renderer))
 
 
@@ -243,7 +243,7 @@
         submiturl = self.config['submit-url']
         submitmail = self.config['submit-mail']
         if submiturl or submitmail:
-            form = self.vreg.select('forms', 'base', self.req,
+            form = self.vreg.select('forms', 'base', self.req, rset=None,
                                     mainform=False)
             binfo = text_error_description(ex, excinfo, req, eversion, cversions)
             form.form_add_hidden('description', binfo)