[basecontroller] we should consume divid to avoid it being reused by the table view, leading to duplicated id (and hence weird rendering)
--- a/web/views/basecontrollers.py Tue Sep 14 15:39:28 2010 +0200
+++ b/web/views/basecontrollers.py Tue Sep 14 15:40:10 2010 +0200
@@ -352,6 +352,8 @@
stream = view.set_stream()
if paginate:
if divid == 'pageContent':
+ # ensure divid isn't reused by the view (e.g. table view)
+ self._cw.form.pop('divid', None)
# mimick main template behaviour
stream.write(u'<div id="pageContent">')
vtitle = self._cw.form.get('vtitle')