--- a/web/views/editforms.py Wed Apr 08 20:34:26 2009 +0200
+++ b/web/views/editforms.py Wed Apr 08 20:36:11 2009 +0200
@@ -48,8 +48,6 @@
"""form used to confirm deletion of some entities"""
id = 'deleteconf'
title = _('delete')
- domid = 'deleteconf'
- onsubmit = None
# don't use navigation, all entities asked to be deleted should be displayed
# else we will only delete the displayed page
need_navigation = False
@@ -439,7 +437,7 @@
self.form_title(entity)
form = self.vreg.select_object('forms', 'edition', self.req, entity.rset,
row=entity.row, col=entity.col, entity=entity,
- domid=self.id, submitmsg=self.submited_message())
+ submitmsg=self.submited_message())
self.init_form(form, entity)
self.w(form.form_render(renderer=EntityFormRenderer(), formvid=u'edition'))
@@ -546,8 +544,7 @@
super(TableEditForm, self).__init__(*args, **kwargs)
for row in xrange(len(self.rset)):
form = self.vreg.select_object('forms', 'edition', self.req, self.rset,
- row=row, domid=self.id,
- attrcategories=('primary',),
+ row=row, attrcategories=('primary',),
set_error_url=False)
# XXX rely on the MultipleEntityFormRenderer to put the eid input
form.remove_field(form.field_by_name('eid'))
@@ -564,8 +561,7 @@
should be the eid
"""
#self.form_title(entity)
- form = self.vreg.select_object('forms', self.id, self.req, self.rset,
- domid=self.id)
+ form = self.vreg.select_object('forms', self.id, self.req, self.rset)
self.w(form.form_render(renderer=EntityCompositeFormRenderer()))