diff -r 09db6f4619c9 -r 6e84db1b3e44 web/views/editforms.py --- a/web/views/editforms.py Wed Jul 28 16:31:32 2010 +0200 +++ b/web/views/editforms.py Fri Jul 30 10:02:31 2010 +0200 @@ -169,7 +169,9 @@ def url(self): """return the url associated with this view""" - return self.create_url(self._cw.form.get('etype')) + req = self._cw + return req.vreg["etypes"].etype_class(req.form['etype']).cw_create_url( + req) def submited_message(self): """return the message that will be displayed on successful edition"""