diff -r 62f3fefb22f4 -r 30c3a713ab61 web/views/basecontrollers.py
--- a/web/views/basecontrollers.py Mon May 11 11:30:42 2009 +0200
+++ b/web/views/basecontrollers.py Mon May 11 11:55:10 2009 +0200
@@ -312,7 +312,7 @@
view.pagination(req, rset, view.w, not view.need_navigation)
if divid == 'pageContent':
stream.write(u'
')
- view.dispatch()
+ view.render()
extresources = req.html_headers.getvalue(skiphead=True)
if extresources:
stream.write(u'
\n') # XXX use a widget ?
@@ -349,7 +349,7 @@
extraargs = dict((str(key), value)
for key, value in extraargs.items())
extraargs = extraargs or {}
- return comp.dispatch(**extraargs)
+ return comp.render(**extraargs)
@check_pageid
@xhtmlize
@@ -357,7 +357,7 @@
view = self.vreg.select_view('inline-creation', self.req, None,
etype=ttype, peid=peid, rtype=rtype,
role=role)
- return view.dispatch(etype=ttype, peid=peid, rtype=rtype, role=role)
+ return view.render(etype=ttype, peid=peid, rtype=rtype, role=role)
@jsonize
def js_validate_form(self, action, names, values):