web/views/management.py
branchstable
changeset 2040 c865cc7100ca
parent 2005 e8032965f37a
child 2052 0b9b0bdc93f5
--- a/web/views/management.py	Thu Jun 04 17:21:29 2009 +0200
+++ b/web/views/management.py	Thu Jun 04 17:53:33 2009 +0200
@@ -184,8 +184,8 @@
         form.append_field(field)
         field = guess_field(cwpermschema, self.schema.rschema('require_group'))
         form.append_field(field)
-        renderer = self.select_object('formrenderers', 'htable', self.req,
-                                      display_progress_div=False)
+        renderer = self.vreg.select_object('formrenderers', 'htable', self.req,
+                                           rset=None, display_progress_div=False)
         self.w(form.form_render(renderer=renderer))
 
 
@@ -242,7 +242,7 @@
         submiturl = self.config['submit-url']
         submitmail = self.config['submit-mail']
         if submiturl or submitmail:
-            form = self.select_object('forms', 'base', self.req, set_error_url=False)
+            form = self.vreg.select_object('forms', 'base', self.req, rset=None, set_error_url=False)
             binfo = text_error_description(ex, excinfo, req, eversion, cversions)
             form.form_add_hidden('description', binfo)
             form.form_add_hidden('__bugreporting', '1')